tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represents a boost removed from a chat. https://core.telegram.org/bots/api#chatboostremoved. More...
#include <ChatBoostRemoved.hpp>
Public Member Functions | |
ChatBoostRemoved ()=default | |
ChatBoostRemoved (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
Ptr< Chat > | chat |
Chat which was boosted. More... | |
std::string | boostID |
Unique identifier of the boost. More... | |
std::time_t | removeDate {} |
Point in time (Unix timestamp) when the boost was removed. More... | |
Ptr< ChatBoostSource > | source |
Source of the removed boost. More... | |
This object represents a boost removed from a chat. https://core.telegram.org/bots/api#chatboostremoved.
Definition at line 9 of file ChatBoostRemoved.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file ChatBoostRemoved.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 40 of file ChatBoostRemoved.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 30 of file ChatBoostRemoved.hpp.
std::string tgbotxx::ChatBoostRemoved::boostID |
Unique identifier of the boost.
Definition at line 19 of file ChatBoostRemoved.hpp.
Chat which was boosted.
Definition at line 16 of file ChatBoostRemoved.hpp.
std::time_t tgbotxx::ChatBoostRemoved::removeDate {} |
Point in time (Unix timestamp) when the boost was removed.
Definition at line 22 of file ChatBoostRemoved.hpp.
Ptr<ChatBoostSource> tgbotxx::ChatBoostRemoved::source |
Source of the removed boost.
Definition at line 25 of file ChatBoostRemoved.hpp.