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

This object represents a Telegram user or bot. More...

#include <telebot-types.h>

Public Attributes

int id
 
bool is_bot
 
char * first_name
 
char * last_name
 
char * username
 
char * language_code
 
bool can_join_groups
 
bool can_read_all_group_messages
 
bool supports_inline_queries
 

Detailed Description

This object represents a Telegram user or bot.

Member Data Documentation

◆ can_join_groups

bool telebot_user::can_join_groups

Optional. Optional. True, if the bot can be invited to groups. Returned only in getMe.

◆ can_read_all_group_messages

bool telebot_user::can_read_all_group_messages

Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.

◆ first_name

char* telebot_user::first_name

User's or bot's first name.

◆ id

int telebot_user::id

Unique identifier for this user or bot.

◆ is_bot

bool telebot_user::is_bot

True, if this user is bot.

◆ language_code

char* telebot_user::language_code

Optional. IETF language tag of the user's language.

◆ last_name

char* telebot_user::last_name

Optional. User's or bot's last name.

◆ supports_inline_queries

bool telebot_user::supports_inline_queries

Optional. True, if the bot supports inline queries. Returned only in getMe.

◆ username

char* telebot_user::username

Optional. User's or bot's username.


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