|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents a service message about the creation of a scheduled giveaway. https://core.telegram.org/bots/api#giveawaycreated. More...
#include <GiveawayCreated.hpp>
Public Member Functions | |
| GiveawayCreated ()=default | |
| GiveawayCreated (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::int32_t | prizeStarCount {} |
| Optional. The number of Telegram Stars to be split between giveaway winners. | |
This object represents a service message about the creation of a scheduled giveaway. https://core.telegram.org/bots/api#giveawaycreated.
Definition at line 7 of file GiveawayCreated.hpp.
|
default |
|
inlineexplicit |
Definition at line 9 of file GiveawayCreated.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 24 of file GiveawayCreated.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 18 of file GiveawayCreated.hpp.
| std::int32_t tgbotxx::GiveawayCreated::prizeStarCount {} |
Optional. The number of Telegram Stars to be split between giveaway winners.
Definition at line 14 of file GiveawayCreated.hpp.