channels.editCreator
Transfer channel ownership
Example
TL schema
Parameters
Name
Type
Description
Result
Possible errors
Code
Type
Description
400
CHANNEL_PRIVATE
You haven't joined this channel/supergroup
400
CHAT_ADMIN_REQUIRED
You must be an admin in this chat to do this
400
PASSWORD_HASH_INVALID
The provided password hash is invalid
400
PASSWORD_MISSING
You must enable 2FA in order to transfer ownership of a channel
400
PASSWORD_TOO_FRESH_X
The password was modified less than 24 hours ago, try again in X seconds
400
SESSION_TOO_FRESH_X
This session was created less than 24 hours ago, try again in X seconds
400
USER_ID_INVALID
The provided user ID is invalid
Can bots use this methd ?
yes
Related pages
How to login to a user's account if they have enabled 2FA, how to change password.
Last updated