messages.editChatAdmin
Make a user admin in a legacy group.
Example
TL schema
Parameters
Result
Possible errors
Code
Type
Description
400
CHAT_ID_INVALID
The provided chat id is invalid
400
PEER_ID_INVALID
The provided peer id is invalid
400
USER_ID_INVALID
The provided user ID is invalid
400
USER_NOT_PARTICIPANT
You're not a member of this supergroup/channel
Can bots use this methd ?
yes
Related pages
How to handle channels, supergroups, groups, and what's the difference between them.
Last updated