← All methods

messages.removeChatUser

mchat 2026-10-30: functions/functions_chat.php — only the chat creator (admin) removes others; removing yourself = leave.

Parameters

Parameter Type Required Description
chat_id mixed no
user_id mixed no
member_id mixed no

Example

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=messages.removeChatUser' \
  -d 'access_token=USER_TOKEN'