tgbot-cpp
Loading...
Searching...
No Matches
TgBot::StickerSet Class Reference

This object represents a sticker set. More...

#include <StickerSet.h>

Public Types

enum class  Type { Regular , Mask , CustomEmoji }
 Enum of possible types of a sticker. More...
 
typedef std::shared_ptr< StickerSetPtr
 

Public Attributes

std::string name
 Sticker set name.
 
std::string title
 Sticker set title.
 
Type type
 Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
 
bool isAnimated
 True, if the sticker set contains animated stickers.
 
bool isVideo
 True, if the sticker set contains video stickers.
 
std::vector< Sticker::Ptrstickers
 List of all set stickers.
 
PhotoSize::Ptr thumb
 Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.
 

Detailed Description

This object represents a sticker set.

Definition at line 18 of file StickerSet.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<StickerSet> TgBot::StickerSet::Ptr

Definition at line 20 of file StickerSet.h.

Member Enumeration Documentation

◆ Type

enum class TgBot::StickerSet::Type
strong

Enum of possible types of a sticker.

Enumerator
Regular 
Mask 
CustomEmoji 

Definition at line 25 of file StickerSet.h.

Member Data Documentation

◆ isAnimated

bool TgBot::StickerSet::isAnimated

True, if the sticker set contains animated stickers.

Definition at line 47 of file StickerSet.h.

◆ isVideo

bool TgBot::StickerSet::isVideo

True, if the sticker set contains video stickers.

Definition at line 52 of file StickerSet.h.

◆ name

std::string TgBot::StickerSet::name

Sticker set name.

Definition at line 32 of file StickerSet.h.

◆ stickers

std::vector<Sticker::Ptr> TgBot::StickerSet::stickers

List of all set stickers.

Definition at line 57 of file StickerSet.h.

◆ thumb

PhotoSize::Ptr TgBot::StickerSet::thumb

Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.

Definition at line 62 of file StickerSet.h.

◆ title

std::string TgBot::StickerSet::title

Sticker set title.

Definition at line 37 of file StickerSet.h.

◆ type

Type TgBot::StickerSet::type

Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”

Definition at line 42 of file StickerSet.h.


The documentation for this class was generated from the following file: