MessageActionPrizeStars#

class pyrogram.raw.types.MessageActionPrizeStars#

You won some Telegram Stars in a Telegram Star giveaway . This service message should be displayed below the appropriate sticker from the inputStickerSetPremiumGifts stickerset :

If stars <= 1000, choose the sticker with emoji equal to “”
If stars < 2500, choose the sticker with emoji equal to “”
Otherwise, choose the sticker with emoji equal to “”

Constructor of MessageAction.

Details:
  • Layer: 220

  • ID: B00C47A2

Parameters:
stars (int 64-bit):

The number of Telegram Stars you won

transaction_id (str):

ID of the telegram star transaction.

boost_peer (Peer):

Identifier of the peer that was automatically boosted by the winners of the giveaway.

giveaway_msg_id (int 32-bit):

ID of the message containing the messageMediaGiveaway

unclaimed (bool, optional):

If set, this indicates the reverse transaction that refunds the remaining stars to the creator of a giveaway if, when the giveaway ends, the number of members in the channel is smaller than the number of winners in the giveaway.