UniqueGiftColors¶
- class telegram.UniqueGiftColors(model_custom_emoji_id, symbol_custom_emoji_id, light_theme_main_color, light_theme_other_colors, dark_theme_main_color, dark_theme_other_colors, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object contains information about the color scheme for a user’s name, message replies and link previews based on a unique gift.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal if their
model_custom_emoji_id,symbol_custom_emoji_id,light_theme_main_color,light_theme_other_colors,dark_theme_main_color, anddark_theme_other_colorsare equal.Added in version 22.6.
- Parameters:
model_custom_emoji_id (
str) – Custom emoji identifier of the unique gift’s model.symbol_custom_emoji_id (
str) – Custom emoji identifier of the unique gift’s symbol.light_theme_main_color (
int) – Main color used in light themes; RGB format.light_theme_other_colors (Sequence[
int]) – List of 1-3 additional colors used in light themes; RGB format. Accepts anycollections.abc.Sequenceas input instead of just a list. The input is converted to a tuple.dark_theme_main_color (
int) – Main color used in dark themes; RGB format.dark_theme_other_colors (Sequence[
int]) – List of 1-3 additional colors used in dark themes; RGB format. Accepts anycollections.abc.Sequenceas input instead of just a list. The input is converted to a tuple.