|
Telebot 9.4
Library for Telegram bot API
|
This object represents a gift that can be sent by the bot. More...
#include <telebot-types.h>
Public Attributes | |
| char * | id |
| struct telebot_sticker * | sticker |
| int | star_count |
| int | upgrade_star_count |
| bool | is_premium |
| bool | has_colors |
| int | total_count |
| int | remaining_count |
This object represents a gift that can be sent by the bot.
| bool telebot_gift::has_colors |
Optional. True, if the gift can be used (after being upgraded) to customize a user's appearance
| char* telebot_gift::id |
Unique identifier of the gift
| bool telebot_gift::is_premium |
Optional. True, if the gift can only be purchased by Telegram Premium subscribers
| int telebot_gift::remaining_count |
Optional. The number of remaining gifts
| int telebot_gift::star_count |
The number of Telegram Stars that must be paid to send the sticker
| struct telebot_sticker* telebot_gift::sticker |
The sticker that represents the gift
| int telebot_gift::total_count |
Optional. The total number of gifts of this type that can be sent
| int telebot_gift::upgrade_star_count |
Optional. The number of Telegram Stars that must be paid to upgrade the gift