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).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
chat_id | long | はい | The ID of the group |
user_id | InputUser | はい | The user to make admin |
is_admin | Bool | はい | Whether to make them admin |
レスポンス
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.