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 "2️⃣"
  • If stars < 2500, choose the sticker with emoji equal to "3️⃣"
  • Otherwise, choose the sticker with emoji equal to "4️⃣"

Layer 223

messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
unclaimedflags.0?trueIf 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.
starslongThe number of Telegram Stars you won
transaction_idstringID of the telegram star transaction.
boost_peerPeerIdentifier of the peer that was automatically boosted by the winners of the giveaway.
giveaway_msg_idintID of the message containing the messageMediaGiveaway

Type #

MessageAction

messageMediaGiveaway #

Contains info about a giveaway, see here » for more info.

Telegram Stars #

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

Giveaways and gifts #

Telegram channel and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.

inputStickerSetPremiumGifts #

Stickers to show when receiving a gifted Telegram Premium subscription

Stickers and masks #

Telegram clients support displaying static and animated stickers.