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