StaticGramBot API

ChatMemberUpdated

This object represents changes in the status of a chat member.

Поля

Chat the user belongs to
Performer of the action, which resulted in the change
dateInteger
Date the change was done in Unix time
Previous information about the chat member
New information about the chat member
via_join_requestBooleanoptional
True, if the user joined the chat after sending a direct join request without using an invite link and being approved by an administrator

Минимальный JSON

JSON
{
  "chat": {
    "id": 1780243423,
    "type": "private"
  },
  "from": {
    "id": 1780243423,
    "is_bot": true,
    "first_name": "..."
  },
  "date": 1790000000,
  "old_chat_member": {
    "status": "creator",
    "user": {},
    "is_anonymous": true
  },
  "new_chat_member": {
    "status": "creator",
    "user": {},
    "is_anonymous": true
  }
}

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top