|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
Contains the list of gifts received and owned by a user or a chat. https://core.telegram.org/bots/api#ownedgifts. More...
#include <OwnedGifts.hpp>
Public Member Functions | |
| OwnedGifts ()=default | |
| OwnedGifts (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 | totalCount {} |
| The total number of gifts owned by the user or the chat. | |
| std::vector< Ptr< OwnedGift > > | gifts |
| The list of gifts. | |
| std::string | nextOffset |
| Optional. Offset for the next request. If empty, then there are no more results. | |
Contains the list of gifts received and owned by a user or a chat. https://core.telegram.org/bots/api#ownedgifts.
Definition at line 9 of file OwnedGifts.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file OwnedGifts.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 35 of file OwnedGifts.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 26 of file OwnedGifts.hpp.
The list of gifts.
Definition at line 19 of file OwnedGifts.hpp.
| std::string tgbotxx::OwnedGifts::nextOffset |
Optional. Offset for the next request. If empty, then there are no more results.
Definition at line 22 of file OwnedGifts.hpp.
| std::int32_t tgbotxx::OwnedGifts::totalCount {} |
The total number of gifts owned by the user or the chat.
Definition at line 16 of file OwnedGifts.hpp.