TDLib v0.0.2 TDLib.Method.SetChatMemberStatus View Source
Changes the status of a chat member, needs appropriate privileges. This function is currently not suitable for adding new members to the chat; instead, use addChatMember. The chat member status will not be changed until it has been synchronized with the server.
Returns object_ptr
Name | Type | Description |
---|---|---|
chat_id | string | Chat identifier. |
user_id | number | User identifier. |
status | ChatMemberStatus | The new status of the member in the chat. |
More details on telegram’s documentation.