UniqueGiftBackdrop¶
- class telegram.UniqueGiftBackdrop(name, colors, rarity_per_mille, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object describes 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
name,colors, andrarity_per_milleare equal.Available In
Added in version 22.1.
- Parameters:
name (
str) – Name of the backdrop.colors (
telegram.UniqueGiftBackdropColors) – Colors of the backdrop.rarity_per_mille (
int) – The number of unique gifts that receive this backdrop for every1000gifts upgraded.
- rarity_per_mille[source]¶
The number of unique gifts that receive this backdrop for every
1000gifts upgraded.- Type:
int