StaticGramBot API

ChatBoostSourceGiftCode

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

Поля

sourceString
Source of the boost, always “gift_code”
User for which the gift code was created

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

JSON
{
  "source": "gift_code",
  "user": {
    "id": 1780243423,
    "is_bot": true,
    "first_name": "..."
  }
}

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

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