messages.editChatCreator

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 »

Parameters

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.

Result

Updates

Both users and bots can use this method

Related pages

Two-factor authentication

How to login to a user's account if they have enabled 2FA, how to change password.

Channels, supergroups, gigagroups and basic groups

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