tgbot-cpp
TgBot::User Class Reference

#include <User.h>

Public Types

typedef std::shared_ptr< UserPtr
 

Public Attributes

int32_t id
 
std::string firstName
 
std::string lastName
 
std::string username
 

Detailed Description

This object represents a Telegram user or bot.

Definition at line 35 of file User.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 38 of file User.h.

Member Data Documentation

◆ firstName

std::string TgBot::User::firstName

User‘s or bot’s first name.

Definition at line 48 of file User.h.

◆ id

int32_t TgBot::User::id

Unique identifier for this user or bot.

Definition at line 43 of file User.h.

◆ lastName

std::string TgBot::User::lastName

Optional. User‘s or bot’s last name.

Definition at line 53 of file User.h.

◆ username

std::string TgBot::User::username

Optional. User‘s or bot’s username.

Definition at line 58 of file User.h.


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