Skip to content
Back to top
View this page

# UniqueGiftBackdropColors

class telegram.UniqueGiftBackdropColors(center_color, edge_color, symbol_color, text_color, *, api_kwargs=None)

  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.

  Available In

  `telegram.UniqueGiftBackdrop.colors`

  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

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

    Type:

      `int`

  edge_color

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

    Type:

      `int`

  symbol_color

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

    Type:

      `int`

  text_color

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

    Type:

      `int`