GiftedPremium¶
- class pyrogram.types.GiftedPremium¶
Telegram Premium was gifted to the user
- Parameters:¶
gifter_user_id (
int
) – The identifier of a user that gifted Telegram Premium; 0 if the gift was anonymouscurrency (
str
) – Currency for the paid amountamount (
int
) – The paid amount, in the smallest units of the currencycryptocurrency (
str
) – Cryptocurrency used to pay for the gift; may be empty if nonecryptocurrency_amount (
int
) – The paid amount, in the smallest units of the cryptocurrency; 0 if nonemonth_count (
int
) – Number of months the Telegram Premium subscription will be active