messages.getFutureChatCreatorAfterLeave

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.

 Схема метода доступна починаючи з шару 223. Перейти »

Parameters

Name Type Description
peer InputPeer The basic group/supergroup/channel we're about to leave.

Result

User

Only users can use this method

Possible errors

Code Type Description
400 CHANNEL_ID_INVALID The specified supergroup ID is invalid.

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.