tgbot-cpp
TgBot::User Class Reference

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

#include <User.h>

Public Types

typedef std::shared_ptr< UserPtr
 

Public Attributes

int32_t id
 Unique identifier for this user or bot. More...
 
bool isBot = false
 True, if this user is a bot. More...
 
std::string firstName
 User‘s or bot’s first name. More...
 
std::string lastName
 Optional. User‘s or bot’s last name. More...
 
std::string username
 Optional. User‘s or bot’s username. More...
 
std::string languageCode
 Optional. IETF language tag of the user's language. More...
 

Detailed Description

This object represents a Telegram user or bot.

Definition at line 36 of file User.h.

Member Typedef Documentation

typedef std::shared_ptr<User> TgBot::User::Ptr

Definition at line 39 of file User.h.

Member Data Documentation

std::string TgBot::User::firstName

User‘s or bot’s first name.

Definition at line 54 of file User.h.

int32_t TgBot::User::id

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: