StaticGramBot API

ProximityAlertTriggered

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

Поля

User that triggered the alert
User that set the alert
distanceInteger
The distance between the users

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

JSON
{
  "traveler": {
    "id": 1780243423,
    "is_bot": true,
    "first_name": "..."
  },
  "watcher": {
    "id": 1780243423,
    "is_bot": true,
    "first_name": "..."
  },
  "distance": 1
}

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

Типы

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