1#ifndef TGBOT_GIVEAWAYWINNERS_H
2#define TGBOT_GIVEAWAYWINNERS_H
22 typedef std::shared_ptr<GiveawayWinners>
Ptr;
std::shared_ptr< Chat > Ptr
This object represents a message about the completion of a giveaway with public winners.
Chat::Ptr chat
The chat that created the giveaway.
std::shared_ptr< GiveawayWinners > Ptr
std::int32_t giveawayMessageId
Identifier of the message with the giveaway in the chat.
std::string prizeDescription
Optional. Description of additional giveaway prize.
bool wasRefunded
Optional. True, if the giveaway was canceled because the payment for it was refunded.
std::int32_t winnerCount
Total number of winners in the giveaway.
bool onlyNewMembers
Optional. True, if only users who had joined the chats after the giveaway started were eligible to wi...
std::int32_t additionalChatCount
Optional. The number of other chats the user had to join in order to be eligible for the giveaway.
std::vector< User::Ptr > winners
List of up to 100 winners of the giveaway.
std::int32_t unclaimedPrizeCount
Optional. Number of undistributed prizes.
std::uint32_t winnersSelectionDate
Point in time (Unix timestamp) when winners of the giveaway were selected.
std::int32_t premiumSubscriptionMonthCount
Optional. The number of months the Telegram Premium subscription won from the giveaway will be active...