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 »
| Name | Type | Description |
|---|---|---|
| channel | InputChannel | The basic supergroup/channel we're about to leave. |
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |