View Source ExTDLib.Method.SetChatMemberStatus (ExTDLib v0.0.4)
Changes the status of a chat member, needs appropriate privileges. This function is currently not suitable for transferring chat ownership; use transferChatOwnership instead. Use addChatMember or banChatMember if some additional parameters needs to be passed. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| member_id | MessageSender | Member identifier. Chats can be only banned and unbanned in supergroups and channels. |
| status | ChatMemberStatus | The new status of the member in the chat. |
More details on telegram's documentation.