Telebot  4.7.0
Library for Telegram bot API
Public Attributes | List of all members
telebot_sticker Struct Reference

This object represents a sticker. More...

#include <telebot-stickers.h>

Public Attributes

char * file_id
 
char * file_unique_id
 
int width
 
int height
 
bool is_animated
 
struct telebot_photothumb
 
char * emoji
 
char * set_name
 
struct telebot_mask_positionmask_position
 
int file_size
 

Detailed Description

This object represents a sticker.

Member Data Documentation

◆ emoji

char* telebot_sticker::emoji

Optional. Emoji associated with the sticker.

◆ file_id

char* telebot_sticker::file_id

Identifier for this file, which can be used to download or reuse the file

◆ file_size

int telebot_sticker::file_size

Optional. File size

◆ file_unique_id

char* telebot_sticker::file_unique_id

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

◆ height

int telebot_sticker::height

Sticker height

◆ is_animated

bool telebot_sticker::is_animated

True, if the sticker is animated

◆ mask_position

struct telebot_mask_position* telebot_sticker::mask_position

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

◆ set_name

char* telebot_sticker::set_name

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

◆ thumb

struct telebot_photo* telebot_sticker::thumb

Optional. Sticker thumbnail in .webp or .jpg format

◆ width

int telebot_sticker::width

Sticker width


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