LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Contact.h
Go to the documentation of this file.
1
#ifndef _TG_CONTACT_H_
2
#define _TG_CONTACT_H_
3
4
#include <json/json.h>
5
#include <string>
6
7
namespace
Telegram {
8
9
class
Contact
{
10
public
:
11
Contact
(Json::Value);
12
13
private
:
14
std::string
phone_number
;
15
std::string
first_name
;
16
std::string
last_name
;
17
Json::Int64
user_id
;
18
};
19
}
20
21
#endif
Telegram::Contact::Contact
Contact(Json::Value)
Definition:
Contact.cc:3
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
Definition:
Contact.h:9
Telegram::Contact::first_name
std::string first_name
Definition:
Contact.h:15
Telegram::Contact::user_id
Json::Int64 user_id
Definition:
Contact.h:17
include
Telegram
Contact.h
Generated on Sun Jun 4 2017 13:31:53 for LibTgBotPP by
1.8.6