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

This object represents a gift received by a user. More...

#include <telebot-types.h>

Public Attributes

char * gift_id
 
struct telebot_usersender_user
 
char * text
 
struct telebot_message_entityentities
 
int count_entities
 
telebot_gift_tgift
 
long date
 
int message_id
 
int upgrade_star_count
 
bool is_upgraded
 

Detailed Description

This object represents a gift received by a user.

Member Data Documentation

◆ count_entities

int telebot_user_gift::count_entities

Number of entities

◆ date

long telebot_user_gift::date

Date the gift was sent

◆ entities

struct telebot_message_entity* telebot_user_gift::entities

Optional. Special entities that appear in the text

◆ gift

telebot_gift_t* telebot_user_gift::gift

Information about the gift

◆ gift_id

char* telebot_user_gift::gift_id

Unique identifier of the gift

◆ is_upgraded

bool telebot_user_gift::is_upgraded

Optional. True, if the gift is upgraded

◆ message_id

int telebot_user_gift::message_id

Optional. Message identifier of the message with the gift

◆ sender_user

struct telebot_user* telebot_user_gift::sender_user

Optional. The user that sent the gift

◆ text

char* telebot_user_gift::text

Optional. Message text added to the gift

◆ upgrade_star_count

int telebot_user_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: