Layer 220
MessageActionGiveawayResults
A giveaway has ended.
constructor
messageActionGiveawayResults#87e2f155 flags:# stars:flags.0?true winners_count:int unclaimed_count:int = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Stars | flags.0?true | If set, this is a Telegram Star giveaway |
| WinnersCount | int | Number of winners in the giveaway |
| UnclaimedCount | int | Number of undistributed prizes |
Returns
MessageActionGogram Example
// Creating MessageActionGiveawayResults constructor obj := &tg.MessageActionGiveawayResults{ WinnersCount: 0, UnclaimedCount: 0, // Optional fields: // Stars: true, }