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.

Layer 223

Method schema is available as of layer 223. Switch »

Parameters #

NameTypeDescription
channelInputChannelThe basic supergroup/channel we're about to leave.

Result #

User

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.