GiftedStars#
- class pyrogram.types.GiftedStars#
Telegram Stars were gifted to a user
- Parameters:
gifter_user_id (
int
) – The identifier of a user that gifted Telegram Stars; 0 if the gift was anonymous or is outgoingreceiver_user_id (
int
) – The identifier of a user that received Telegram Stars; 0 if the gift is incomingcurrency (
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 nonestar_count (
int
) – Number of Telegram Stars that were giftedtransaction_id (
str
) – Identifier of the transaction for Telegram Stars purchase; for receiver onlysticker (
Sticker
) – A sticker to be shown in the message; may be null if unknown