LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
User.cc
Go to the documentation of this file.
1
#include "
Telegram/User.h
"
2
3
Telegram::User::User
(Json::Value json) {
4
5
this->
id
= json[
"id"
].asUInt64();
6
this->
first_name
= json[
"first_name"
].asString();
7
this->
last_name
= json[
"last_name"
].asString();
8
this->
username
= json[
"username"
].asString();
9
}
Telegram::User::User
User(Json::Value)
Definition:
User.cc:3
Telegram::User::first_name
std::string first_name
Definition:
User.h:15
User.h
Telegram::User::username
std::string username
Definition:
User.h:17
Telegram::User::last_name
std::string last_name
Definition:
User.h:16
src
User.cc
Generated on Sun Jun 4 2017 13:31:53 for LibTgBotPP by
1.8.6