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

This object represents a sticker set. More...

#include <Types.h>

Public Types

enum class  Type { Regular , Mask , CustomEmoji }
using Ptr = std::shared_ptr<StickerSet>

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 “regular”, “mask”, “custom_emoji”
std::vector< std::shared_ptr< Sticker > > stickers { }
 List of all set stickers.
std::shared_ptr< PhotoSizethumbnail { }
 Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.

Detailed Description

This object represents a sticker set.

Definition at line 13447 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::StickerSet::Ptr = std::shared_ptr<StickerSet>

Definition at line 13448 of file Types.h.

Member Enumeration Documentation

◆ Type

enum class TgBot::StickerSet::Type
strong
Enumerator
Regular 
Mask 
CustomEmoji 

Definition at line 13450 of file Types.h.

Member Data Documentation

◆ name

std::string TgBot::StickerSet::name { }

Sticker set name.

Definition at line 13455 of file Types.h.

◆ stickers

std::vector<std::shared_ptr<Sticker> > TgBot::StickerSet::stickers { }

List of all set stickers.

Definition at line 13470 of file Types.h.

◆ stickerType

Type TgBot::StickerSet::stickerType { }

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

Definition at line 13465 of file Types.h.

◆ thumbnail

std::shared_ptr<PhotoSize> TgBot::StickerSet::thumbnail { }

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

Definition at line 13475 of file Types.h.

◆ title

std::string TgBot::StickerSet::title { }

Sticker set title.

Definition at line 13460 of file Types.h.


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