Transfer the ownership of a basic group, supergroup or channel to another user, see here » for the full flow.
Method schema is available as of layer 223. Switch »
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Owned group/supergroup/channel. |
| user_id | InputUser | ID of the new owner. |
| password | InputCheckPasswordSRP | The current account's 2FA password. |
How to login to a user's account if they have enabled 2FA, how to change password.
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.