This object represents a Telegram user or bot.
More...
#include <User.h>
|
typedef std::shared_ptr< User > | Ptr |
|
This object represents a Telegram user or bot.
Definition at line 36 of file User.h.
std::string TgBot::User::firstName |
User‘s or bot’s first name.
Definition at line 54 of file User.h.
Unique identifier for this user or bot.
Definition at line 44 of file User.h.
bool TgBot::User::isBot = false |
True, if this user is a bot.
Definition at line 49 of file User.h.
std::string TgBot::User::languageCode |
Optional. IETF language tag of the user's language.
Definition at line 69 of file User.h.
std::string TgBot::User::lastName |
Optional. User‘s or bot’s last name.
Definition at line 59 of file User.h.
std::string TgBot::User::username |
Optional. User‘s or bot’s username.
Definition at line 64 of file User.h.
The documentation for this class was generated from the following file: