tgbot-cpp
TgBot::Sticker Class Reference

This object represents a general file (as opposed to photos and audio files). More...

#include <Sticker.h>

Public Types

typedef std::shared_ptr< StickerPtr
 

Public Attributes

std::string fileId
 Unique file identifier. More...
 
int32_t width
 Optional. Sticker width. More...
 
int32_t height
 Optional. Sticker height. More...
 
PhotoSize::Ptr thumb
 Optional. Optional. Sticker thumbnail in .webp or .jpg format. More...
 
std::string emoji
 Optional. Emoji associated with the sticker. More...
 
std::string setName
 Optional. Name of the sticker set to which the sticker belongs. More...
 
MaskPosition::Ptr maskPosition
 Optional. For mask stickers, the position where the mask should be placed. More...
 
int32_t fileSize
 Optional. File size. More...
 

Detailed Description

This object represents a general file (as opposed to photos and audio files).

Definition at line 39 of file Sticker.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 42 of file Sticker.h.

Member Data Documentation

◆ emoji

std::string TgBot::Sticker::emoji

Optional. Emoji associated with the sticker.

Definition at line 67 of file Sticker.h.

◆ fileId

std::string TgBot::Sticker::fileId

Unique file identifier.

Definition at line 47 of file Sticker.h.

◆ fileSize

int32_t TgBot::Sticker::fileSize

Optional. File size.

Definition at line 82 of file Sticker.h.

◆ height

int32_t TgBot::Sticker::height

Optional. Sticker height.

Definition at line 57 of file Sticker.h.

◆ maskPosition

MaskPosition::Ptr TgBot::Sticker::maskPosition

Optional. For mask stickers, the position where the mask should be placed.

Definition at line 77 of file Sticker.h.

◆ setName

std::string TgBot::Sticker::setName

Optional. Name of the sticker set to which the sticker belongs.

Definition at line 72 of file Sticker.h.

◆ thumb

PhotoSize::Ptr TgBot::Sticker::thumb

Optional. Optional. Sticker thumbnail in .webp or .jpg format.

Definition at line 62 of file Sticker.h.

◆ width

int32_t TgBot::Sticker::width

Optional. Sticker width.

Definition at line 52 of file Sticker.h.


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