UniqueGiftBackdropColors¶
- class telegram.UniqueGiftBackdropColors(center_color, edge_color, symbol_color, text_color, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This object describes the colors of the backdrop of a unique gift.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal if their
center_color
,edge_color
,symbol_color
, andtext_color
are equal.Available In
Added in version 22.1.
- Parameters:
center_color (
int
) – The color in the center of the backdrop in RGB format.edge_color (
int
) – The color on the edges of the backdrop in RGB format.symbol_color (
int
) – The color to be applied to the symbol in RGB format.text_color (
int
) – The color for the text on the backdrop in RGB format.