MadelineProtoDocs/docs/TD_docs/methods/changeChatMemberStatus.md

1.1 KiB

title description image
changeChatMemberStatus 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 https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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