StarGift¶
- class pyrogram.types.StarGift¶
A star gift.
- Parameters:¶
id (
int
) – Unique star gift identifier.sticker (
Sticker
) – Information about the star gift sticker.price (
int
) – Price of this gift in stars.convert_price (
int
) – The number of stars you get if you convert this gift.available_amount (
int
, optional) – The number of gifts available for purchase. Returned only if is_limited is True.total_amount (
int
, optional) – Total amount of gifts. Returned only if is_limited is True.is_limited (
bool
, optional) – True, if the number of gifts is limited.