tgbot-cpp
Loading...
Searching...
No Matches
StickerSet.h
Go to the documentation of this file.
1#ifndef TGBOT_STICKERSET_H
2#define TGBOT_STICKERSET_H
3
6
7#include <memory>
8#include <string>
9#include <vector>
10
11namespace TgBot {
12
19public:
20 typedef std::shared_ptr<StickerSet> Ptr;
21
25 enum class Type {
27 };
28
32 std::string name;
33
37 std::string title;
38
43
48
52 bool isVideo;
53
57 std::vector<Sticker::Ptr> stickers;
58
63};
64}
65
66#endif //TGBOT_STICKERSET_H
std::shared_ptr< PhotoSize > Ptr
Definition PhotoSize.h:18
This object represents a sticker set.
Definition StickerSet.h:18
std::vector< Sticker::Ptr > stickers
List of all set stickers.
Definition StickerSet.h:57
std::string name
Sticker set name.
Definition StickerSet.h:32
Type
Enum of possible types of a sticker.
Definition StickerSet.h:25
PhotoSize::Ptr thumb
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.
Definition StickerSet.h:62
bool isAnimated
True, if the sticker set contains animated stickers.
Definition StickerSet.h:47
bool isVideo
True, if the sticker set contains video stickers.
Definition StickerSet.h:52
Type type
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
Definition StickerSet.h:42
std::shared_ptr< StickerSet > Ptr
Definition StickerSet.h:20
std::string title
Sticker set title.
Definition StickerSet.h:37
Definition Api.h:39