|
tgbotxx 1.1.9.2
Telegram Bot C++ Library
|
This object represents a sticker set. https://core.telegram.org/bots/api#stickerset. More...
#include <StickerSet.hpp>
Public Member Functions | |
| StickerSet ()=default | |
| StickerSet (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::string | name |
| Sticker set name. | |
| std::string | title |
| Sticker set title. | |
| Sticker::Type | stickerType {} |
| Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji” | |
| std::vector< Ptr< Sticker > > | stickers |
| List of all set stickers. | |
| Ptr< PhotoSize > | thumbnail |
| Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format. | |
This object represents a sticker set. https://core.telegram.org/bots/api#stickerset.
Definition at line 9 of file StickerSet.hpp.
|
default |
|
inlineexplicit |
Definition at line 11 of file StickerSet.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 43 of file StickerSet.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 32 of file StickerSet.hpp.
| std::string tgbotxx::StickerSet::name |
Sticker set name.
Definition at line 16 of file StickerSet.hpp.
List of all set stickers.
Definition at line 25 of file StickerSet.hpp.
| Sticker::Type tgbotxx::StickerSet::stickerType {} |
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
Definition at line 22 of file StickerSet.hpp.
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.
Definition at line 28 of file StickerSet.hpp.
| std::string tgbotxx::StickerSet::title |
Sticker set title.
Definition at line 19 of file StickerSet.hpp.