Layer 220
constructor

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
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{
    Stars: int64(0),
    TransactionId: "...",
    BoostPeer: &tg.Peer{},
    GiveawayMsgId: 0,

    // Optional fields:
    // Unclaimed: true,
}