You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
302 B
22 lines
302 B
9 years ago
|
#ifndef _TG_CONTACT_H_
|
||
|
#define _TG_CONTACT_H_
|
||
|
|
||
|
#include <json/json.h>
|
||
|
#include <string>
|
||
|
|
||
|
namespace Telegram {
|
||
|
|
||
|
class Contact {
|
||
|
public:
|
||
|
Contact(Json::Value);
|
||
|
|
||
|
private:
|
||
|
std::string phone_number;
|
||
|
std::string first_name;
|
||
|
std::string last_name;
|
||
|
Json::Int64 user_id;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|