tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represents a boost added to a chat or changed. https://core.telegram.org/bots/api#chatboostupdated. More...
#include <ChatBoostUpdated.hpp>
Public Member Functions | |
ChatBoostUpdated ()=default | |
ChatBoostUpdated (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... | |
Ptr< ChatBoost > | boost |
Information about the chat boost. More... | |
This object represents a boost added to a chat or changed. https://core.telegram.org/bots/api#chatboostupdated.
Definition at line 9 of file ChatBoostUpdated.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file ChatBoostUpdated.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 32 of file ChatBoostUpdated.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 24 of file ChatBoostUpdated.hpp.
Information about the chat boost.
Definition at line 19 of file ChatBoostUpdated.hpp.
Chat which was boosted.
Definition at line 16 of file ChatBoostUpdated.hpp.