UniqueGiftBackdrop

class litegram.types.unique_gift_backdrop.UniqueGiftBackdrop(*, name: str, colors: UniqueGiftBackdropColors, rarity_per_mille: int, **extra_data: Any)[исходный код]

This object describes the backdrop of a unique gift.

Source: https://core.telegram.org/bots/api#uniquegiftbackdrop

name: str

Name of the backdrop

colors: UniqueGiftBackdropColors

Colors of the backdrop

rarity_per_mille: int

The number of unique gifts that receive this backdrop for every 1000 gifts upgraded