MessageActionPrizeStars#

class pyrogram.raw.types.MessageActionPrizeStars#

You won some Telegram Stars in a Telegram Star giveaway ».

Constructor of MessageAction.

Details:
  • Layer: 198

  • 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.