GiftedStars¶
- class pyrogram.types.GiftedStars¶
Telegram Stars were gifted to a user.
- Parameters:
gifter (
User, optional) – User that gifted Telegram Premium. None if the gift was anonymous.receiver (
User) – User that received Telegram Premium.currency (
str) – Currency for the paid amount.amount (
int) – The paid amount, in the smallest units of the currency.cryptocurrency (
str, optional) – Cryptocurrency used to pay for the gift.cryptocurrency_amount (
int, optional) – The paid amount, in the smallest units of the cryptocurrency.star_count (
int) – Number of Telegram Stars that were gifted.transaction_id (
str, optional) – Identifier of the transaction for Telegram Stars purchase. For receiver only.sticker (
Sticker) – A sticker to be shown in the message.