tgbotxx
1.1.6.9
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. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::string | name |
Sticker set name. More... | |
std::string | title |
Sticker set title. More... | |
Sticker::Type | type {} |
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji” More... | |
bool | isAnimated {} |
True, if the sticker set contains animated stickers More... | |
bool | isVideo {} |
True, if the sticker set contains video stickers More... | |
std::vector< Ptr< Sticker > > | stickers |
List of all set stickers. More... | |
Ptr< PhotoSize > | thumbnail |
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format. More... | |
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 51 of file StickerSet.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 38 of file StickerSet.hpp.
bool tgbotxx::StickerSet::isAnimated {} |
True, if the sticker set contains animated stickers
Definition at line 25 of file StickerSet.hpp.
bool tgbotxx::StickerSet::isVideo {} |
True, if the sticker set contains video stickers
Definition at line 28 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 31 of file StickerSet.hpp.
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.
Definition at line 34 of file StickerSet.hpp.
std::string tgbotxx::StickerSet::title |
Sticker set title.
Definition at line 19 of file StickerSet.hpp.
Sticker::Type tgbotxx::StickerSet::type {} |
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
Definition at line 22 of file StickerSet.hpp.