tgbot-cpp
TgBot::Sticker Class Reference

#include <Sticker.h>

Public Types

typedef std::shared_ptr< StickerPtr
 

Public Attributes

std::string fileId
 
int32_t width
 
int32_t height
 
PhotoSize::Ptr thumb
 
std::string emoji
 
std::string setName
 
MaskPosition::Ptr maskPosition
 
int32_t fileSize
 

Detailed Description

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

Definition at line 38 of file Sticker.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 41 of file Sticker.h.

Member Data Documentation

◆ emoji

std::string TgBot::Sticker::emoji

Optional. Emoji associated with the sticker

Definition at line 66 of file Sticker.h.

◆ fileId

std::string TgBot::Sticker::fileId

Unique file identifier.

Definition at line 46 of file Sticker.h.

◆ fileSize

int32_t TgBot::Sticker::fileSize

Optional. File size.

Definition at line 81 of file Sticker.h.

◆ height

int32_t TgBot::Sticker::height

Optional. Sticker height.

Definition at line 56 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 76 of file Sticker.h.

◆ setName

std::string TgBot::Sticker::setName

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

Definition at line 71 of file Sticker.h.

◆ thumb

PhotoSize::Ptr TgBot::Sticker::thumb

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

Definition at line 61 of file Sticker.h.

◆ width

int32_t TgBot::Sticker::width

Optional. Sticker width.

Definition at line 51 of file Sticker.h.


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