|
Telebot 9.4
Library for Telegram bot API
|
This object represents a gift received by a user. More...
#include <telebot-types.h>
Public Attributes | |
| char * | gift_id |
| struct telebot_user * | sender_user |
| char * | text |
| struct telebot_message_entity * | entities |
| int | count_entities |
| telebot_gift_t * | gift |
| long | date |
| int | message_id |
| int | upgrade_star_count |
| bool | is_upgraded |
This object represents a gift received by a user.
| int telebot_user_gift::count_entities |
Number of entities
| long telebot_user_gift::date |
Date the gift was sent
| struct telebot_message_entity* telebot_user_gift::entities |
Optional. Special entities that appear in the text
| telebot_gift_t* telebot_user_gift::gift |
Information about the gift
| char* telebot_user_gift::gift_id |
Unique identifier of the gift
| bool telebot_user_gift::is_upgraded |
Optional. True, if the gift is upgraded
| int telebot_user_gift::message_id |
Optional. Message identifier of the message with the gift
| struct telebot_user* telebot_user_gift::sender_user |
Optional. The user that sent the gift
| char* telebot_user_gift::text |
Optional. Message text added to the gift
| int telebot_user_gift::upgrade_star_count |
Optional. The number of Telegram Stars that must be paid to upgrade the gift