channels.getFutureCreatorAfterLeave

Group/channel owners only: returns the ID of the user that will become the new owner of the group if we decide to leave the group, see here » for more info on the full flow.

 Method schema is available as of layer 223. Switch »

Parameters

Name Type Description
channel InputChannel The basic supergroup/channel we're about to leave.

Result

User

Only users can use this method

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.