|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents a list of boosts added to a chat by a user. https://core.telegram.org/bots/api#userchatboosts. More...
#include <UserChatBoosts.hpp>
Public Member Functions | |
| UserChatBoosts ()=default | |
| UserChatBoosts (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::vector< Ptr< ChatBoost > > | boosts |
| The list of boosts added to the chat by the user. | |
This object represents a list of boosts added to a chat by a user. https://core.telegram.org/bots/api#userchatboosts.
Definition at line 9 of file UserChatBoosts.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file UserChatBoosts.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 27 of file UserChatBoosts.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 20 of file UserChatBoosts.hpp.
The list of boosts added to the chat by the user.
Definition at line 16 of file UserChatBoosts.hpp.