Method: changeChatMemberStatus

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server

Parameters:

Name Type Description Required
chat_id int53 Chat identifier Yes
user_id int Identifier of the user to edit status Yes
status ChatMemberStatus New status of the member in the chat Yes

Return type: Ok