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