GiveawayPrizeStars

class pyrogram.types.GiveawayPrizeStars

A Telegram Stars were received by the current user from a giveaway.

Parameters:
  • star_count (int) – Number of Telegram Stars that were gifted.

  • transaction_id (str) – Identifier of the transaction for Telegram Stars purchase. For receiver only

  • boosted_chat (Chat) – Supergroup or channel chat, which was automatically boosted by the winners of the giveaway.

  • giveaway_message_id (int) – Identifier of the message with the giveaway in the boosted chat.

  • giveaway_message (Message, optional) – Message with the giveaway in the boosted chat.

  • is_unclaimed (bool, optional) – True, if the corresponding winner wasn’t chosen and the Telegram Stars were received by the owner of the boosted chat.

  • sticker (Sticker) – A sticker to be shown in the message.