LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
Telegram::User Class Reference

#include <User.h>

Public Member Functions

 User (Json::Value)
 
Json::Int64 getId ()
 
std::string getFirstName ()
 
std::string getLastName ()
 
std::string getUserName ()
 

Private Attributes

Json::Int64 id
 
std::string first_name
 
std::string last_name
 
std::string username
 

Detailed Description

Definition at line 9 of file User.h.

Constructor & Destructor Documentation

Telegram::User::User ( Json::Value  json)

Constructor of class User

Definition at line 6 of file User.cc.

Member Function Documentation

std::string Telegram::User::getFirstName ( )

Definition at line 20 of file User.cc.

Json::Int64 Telegram::User::getId ( )

Definition at line 15 of file User.cc.

std::string Telegram::User::getLastName ( )

Definition at line 25 of file User.cc.

std::string Telegram::User::getUserName ( )

Definition at line 30 of file User.cc.

Member Data Documentation

std::string Telegram::User::first_name
private

Definition at line 20 of file User.h.

Json::Int64 Telegram::User::id
private

Definition at line 19 of file User.h.

std::string Telegram::User::last_name
private

Definition at line 21 of file User.h.

std::string Telegram::User::username
private

Definition at line 22 of file User.h.


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