LibTgBotPP
 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
Contact(Json::Value)
Definition: Contact.cc:3
std::string last_name
Definition: Contact.h:16
std::string phone_number
Definition: Contact.h:14
std::string first_name
Definition: Contact.h:15
Json::Int64 user_id
Definition: Contact.h:17