|
Telebot
4.7.0
Library for Telegram bot API
|
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 |
This object represents a Telegram user or bot.
| bool telebot_user::can_join_groups |
Optional. Optional. True, if the bot can be invited to groups. Returned only in getMe.
| bool telebot_user::can_read_all_group_messages |
Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
| char* telebot_user::first_name |
User's or bot's first name.
| int telebot_user::id |
Unique identifier for this user or bot.
| bool telebot_user::is_bot |
True, if this user is bot.
| char* telebot_user::language_code |
Optional. IETF language tag of the user's language.
| char* telebot_user::last_name |
Optional. User's or bot's last name.
| bool telebot_user::supports_inline_queries |
Optional. True, if the bot supports inline queries. Returned only in getMe.
| char* telebot_user::username |
Optional. User's or bot's username.
1.8.13