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.
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 »](https://core.telegram.org/api/channel.md#leaving-groups-channels) for more info on the full flow.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | The basic group/supergroup/channel we're about to leave. |
الردود
User
MTProto RPC
- 400 · CHANNEL_ID_INVALID — The specified supergroup ID is invalid.