1#ifndef TGBOT_CHATBOOSTSOURCEGIVEAWAY_H
2#define TGBOT_CHATBOOSTSOURCEGIVEAWAY_H
23 typedef std::shared_ptr<ChatBoostSourceGiveaway>
Ptr;
The boost was obtained by the creation of a Telegram Premium giveaway.
ChatBoostSourceGiveaway()
static const std::string SOURCE
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.