StaticGramBot API

UniqueGiftColors

This object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift.

Поля

Custom emoji identifier of the unique gift's model
Custom emoji identifier of the unique gift's symbol
Main color used in light themes; RGB format
light_theme_other_colorsArray of Integer
List of 1-3 additional colors used in light themes; RGB format
Main color used in dark themes; RGB format
dark_theme_other_colorsArray of Integer
List of 1-3 additional colors used in dark themes; RGB format

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

JSON
{
  "model_custom_emoji_id": "...",
  "symbol_custom_emoji_id": "...",
  "light_theme_main_color": 1,
  "light_theme_other_colors": [],
  "dark_theme_main_color": 1,
  "dark_theme_other_colors": []
}

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

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