tgbot-cpp
Loading...
Searching...
No Matches
ChatBoostSourceGiveaway.h
Go to the documentation of this file.
1#ifndef TGBOT_CHATBOOSTSOURCEGIVEAWAY_H
2#define TGBOT_CHATBOOSTSOURCEGIVEAWAY_H
3
5
6#include <cstdint>
7#include <memory>
8
9namespace TgBot {
10
19
20public:
21 static const std::string SOURCE;
22
23 typedef std::shared_ptr<ChatBoostSourceGiveaway> Ptr;
24
28
34 std::int32_t giveawayMessageId;
35
40};
41}
42
43#endif //TGBOT_CHATBOOSTSOURCEGIVEAWAY_H
The boost was obtained by the creation of a Telegram Premium giveaway.
bool isUnclaimed
Optional. True, if the giveaway was completed, but there was no user to win the prize.
std::shared_ptr< ChatBoostSourceGiveaway > Ptr
std::int32_t giveawayMessageId
Identifier of a message in the chat with the giveaway; the message could have been deleted already.
This object describes the source of a chat boost.
std::string source
Source of the boost.
Definition Api.h:40