This object represents a service message about the completion of a giveaway without public winners.
More...
#include <Types.h>
|
| std::int32_t | winnerCount { } |
| | Number of winners in the giveaway.
|
| std::optional< std::int32_t > | unclaimedPrizeCount { } |
| | Optional. Number of undistributed prizes.
|
| std::shared_ptr< Message > | giveawayMessage { } |
| | Optional. Message with the giveaway that was completed, if it wasn't deleted.
|
| std::optional< bool > | isStarGiveaway { } |
| | Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.
|
This object represents a service message about the completion of a giveaway without public winners.
Definition at line 4173 of file Types.h.
◆ Ptr
◆ giveawayMessage
| std::shared_ptr<Message> TgBot::GiveawayCompleted::giveawayMessage { } |
Optional. Message with the giveaway that was completed, if it wasn't deleted.
Definition at line 4189 of file Types.h.
◆ isStarGiveaway
| std::optional<bool> TgBot::GiveawayCompleted::isStarGiveaway { } |
Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.
Definition at line 4195 of file Types.h.
◆ unclaimedPrizeCount
| std::optional<std::int32_t> TgBot::GiveawayCompleted::unclaimedPrizeCount { } |
Optional. Number of undistributed prizes.
Definition at line 4184 of file Types.h.
◆ winnerCount
| std::int32_t TgBot::GiveawayCompleted::winnerCount { } |
Number of winners in the giveaway.
Definition at line 4179 of file Types.h.
The documentation for this struct was generated from the following file: