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 stickerType
 Type of stickers in the set, currently one of Type::Regular, Type::Mask, Type::CustomEmojiā€
 
std::vector< Sticker::Ptrstickers
 List of all set stickers.
 
PhotoSize::Ptr thumbnail
 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 21 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 26 of file StickerSet.h.

Member Data Documentation

◆ name

std::string TgBot::StickerSet::name

Sticker set name.

Definition at line 33 of file StickerSet.h.

◆ stickers

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

List of all set stickers.

Definition at line 48 of file StickerSet.h.

◆ stickerType

Type TgBot::StickerSet::stickerType

Type of stickers in the set, currently one of Type::Regular, Type::Mask, Type::CustomEmojiā€

Definition at line 43 of file StickerSet.h.

◆ thumbnail

PhotoSize::Ptr TgBot::StickerSet::thumbnail

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

Definition at line 53 of file StickerSet.h.

◆ title

std::string TgBot::StickerSet::title

Sticker set title.

Definition at line 38 of file StickerSet.h.


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