StaticGramBot API

AcceptedGiftTypes

This object describes the types of gifts that can be gifted to a user or a chat.

Поля

True, if unlimited regular gifts are accepted
True, if limited regular gifts are accepted
True, if unique gifts or gifts that can be upgraded to unique for free are accepted
True, if a Telegram Premium subscription is accepted
True, if transfers of unique gifts from channels are accepted

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

JSON
{
  "unlimited_gifts": true,
  "limited_gifts": true,
  "unique_gifts": true,
  "premium_subscription": true,
  "gifts_from_channels": true
}

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

Типы

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