messages.editChatAdmin
Make a user admin in a basic group.
Make a user admin in a [basic group](https://core.telegram.org/api/channel.md#basic-groups).
| Name | Type | Required | Description |
|---|---|---|---|
chat_id | long | Yes | The ID of the group |
user_id | InputUser | Yes | The user to make admin |
is_admin | Bool | Yes | Whether to make them admin |
Replies
Bool
MTProto RPC
- 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.