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, and text_color are equal.

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.

center_color[source]

The color in the center of the backdrop in RGB format.

Type:

int

edge_color[source]

The color on the edges of the backdrop in RGB format.

Type:

int

symbol_color[source]

The color to be applied to the symbol in RGB format.

Type:

int

text_color[source]

The color for the text on the backdrop in RGB format.

Type:

int