blob: c48ea680521655a990b1adf0d16fac0ec4c2cafd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef TGBOT_GIVEAWAYCOMPLETED_H
#define TGBOT_GIVEAWAYCOMPLETED_H
#include <cstdint>
#include <memory>
namespace TgBot {
class Message;
/**
* @brief This object represents a service message about the completion of a giveaway without public winners.
*
* @ingroup types
*/
class GiveawayCompleted {
public:
typedef std::shared_ptr<GiveawayCompleted> Ptr;
/**
* @brief Number of winners in the giveaway
*/
std::int32_t winnerCount;
/**
* @brief Optional. Number of undistributed prizes
*/
std::int32_t unclaimedPrizeCount;
/**
* @brief Optional. Message with the giveaway that was completed, if it wasn't deleted
*/
std::shared_ptr<Message> giveawayMessage;
};
}
#endif //TGBOT_GIVEAWAYCOMPLETED_H
|