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.

NameTypeDescription
chat_idstringChat identifier.
user_idnumberUser identifier.
statusChatMemberStatusThe new status of the member in the chat.

More details on telegram’s documentation.