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

Parameters

Name Type Description
Unclaimed flags .0? true 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.
Stars long The number of Telegram Stars you won
TransactionId string ID of the telegram star transaction.
BoostPeer Peer Identifier of the peer that was automatically boosted by the winners of the giveaway.
GiveawayMsgId int ID of the message containing the message Media Giveaway

Returns

MessageAction

Gogram Example

// Creating MessageActionPrizeStars constructor
obj := &tg.MessageActionPrizeStars{
    Unclaimed: nil,
    Stars: int64(1234567890),
    TransactionId: "Hello, World!",
    BoostPeer: &tg.Peer{},
    GiveawayMsgId: 42,
}