GiftBackground¶
- class telegram.GiftBackground(center_color, edge_color, text_color, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object describes the background of a gift.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal if their
center_color,edge_colorandtext_colorare equal.Available In
Added in version 22.6.
- Parameters:
center_color (
int) – Center color of the background in RGB format.edge_color (
int) – Edge color of the background in RGB format.text_color (
int) – Text color of the background in RGB format.