23 #ifndef TGBOT_CPP_USER_H 24 #define TGBOT_CPP_USER_H 39 typedef std::shared_ptr<User>
Ptr;
74 #endif //TGBOT_CPP_USER_H std::string firstName
User‘s or bot’s first name.
int32_t id
Unique identifier for this user or bot.
std::string lastName
Optional. User‘s or bot’s last name.
std::string languageCode
Optional. IETF language tag of the user's language.
std::string username
Optional. User‘s or bot’s username.
bool isBot
True, if this user is a bot.
This object represents a Telegram user or bot.
std::shared_ptr< User > Ptr