LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
User.h
Go to the documentation of this file.
1
#ifndef _TG_USER_H_
2
#define _TG_USER_H_
3
4
#include <json/json.h>
5
#include <string>
6
7
namespace
Telegram {
8
9
class
User
{
10
public
:
11
User
(Json::Value);
12
13
Json::Int64
getId
();
14
std::string
getFirstName
();
15
std::string
getLastName
();
16
std::string
getUserName
();
17
18
private
:
19
Json::Int64
id
;
20
std::string
first_name
;
21
std::string
last_name
;
22
std::string
username
;
23
};
24
}
25
26
#endif
Telegram::User::User
User(Json::Value)
Definition:
User.cc:6
Telegram::User::getLastName
std::string getLastName()
Definition:
User.cc:25
Telegram::User::getUserName
std::string getUserName()
Definition:
User.cc:30
Telegram::User::first_name
std::string first_name
Definition:
User.h:20
Telegram::User::id
Json::Int64 id
Definition:
User.h:19
Telegram::User::username
std::string username
Definition:
User.h:22
Telegram::User::getFirstName
std::string getFirstName()
Definition:
User.cc:20
Telegram::User::getId
Json::Int64 getId()
Definition:
User.cc:15
Telegram::User::last_name
std::string last_name
Definition:
User.h:21
Telegram::User
Definition:
User.h:9
include
Telegram
User.h
Generated on Wed Jun 7 2017 20:37:38 for LibTgBotPP by
1.8.6