tgbot-cpp
Loading...
Searching...
No Matches
GiveawayCompleted.h
Go to the documentation of this file.
1#ifndef TGBOT_GIVEAWAYCOMPLETED_H
2#define TGBOT_GIVEAWAYCOMPLETED_H
3
4#include <cstdint>
5#include <memory>
6
7namespace TgBot {
8
9class Message;
10
17
18public:
19 typedef std::shared_ptr<GiveawayCompleted> Ptr;
20
24 std::int32_t winnerCount;
25
29 std::int32_t unclaimedPrizeCount;
30
34 std::shared_ptr<Message> giveawayMessage;
35};
36}
37
38#endif //TGBOT_GIVEAWAYCOMPLETED_H
This object represents a service message about the completion of a giveaway without public winners.
std::shared_ptr< GiveawayCompleted > Ptr
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::int32_t winnerCount
Number of winners in the giveaway.
Definition Api.h:40