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.
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | The basic group/supergroup/channel we're about to leave. |
Responses
User
MTProto RPC
- 400 · CHANNEL_ID_INVALID — The specified supergroup ID is invalid.