← Все методы

messages.removeChatUser

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

Параметры

Параметр Тип Обязательный Описание
chat_id mixed нет
user_id mixed нет
member_id mixed нет

Пример

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