Layer 220
MessageActionPrizeStars
You won some Telegram Stars in a Telegram Star giveaway.
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
MessageActionGogram Example
// Creating MessageActionPrizeStars constructor obj := &tg.MessageActionPrizeStars{ Stars: int64(0), TransactionId: "...", BoostPeer: &tg.Peer{}, GiveawayMsgId: 0, // Optional fields: // Unclaimed: true, }