Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_gift Struct Reference

This object represents a gift that can be sent by the bot. More...

#include <telebot-types.h>

Public Attributes

char * id
 
struct telebot_stickersticker
 
int star_count
 
int upgrade_star_count
 
bool is_premium
 
bool has_colors
 
int total_count
 
int remaining_count
 

Detailed Description

This object represents a gift that can be sent by the bot.

Member Data Documentation

◆ has_colors

bool telebot_gift::has_colors

Optional. True, if the gift can be used (after being upgraded) to customize a user's appearance

◆ id

char* telebot_gift::id

Unique identifier of the gift

◆ is_premium

bool telebot_gift::is_premium

Optional. True, if the gift can only be purchased by Telegram Premium subscribers

◆ remaining_count

int telebot_gift::remaining_count

Optional. The number of remaining gifts

◆ star_count

int telebot_gift::star_count

The number of Telegram Stars that must be paid to send the sticker

◆ sticker

struct telebot_sticker* telebot_gift::sticker

The sticker that represents the gift

◆ total_count

int telebot_gift::total_count

Optional. The total number of gifts of this type that can be sent

◆ upgrade_star_count

int telebot_gift::upgrade_star_count

Optional. The number of Telegram Stars that must be paid to upgrade the gift


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