Added get methods to User class
This commit is contained in:
@@ -10,6 +10,11 @@ namespace Telegram {
|
||||
public:
|
||||
User(Json::Value);
|
||||
|
||||
Json::Int64 getId();
|
||||
std::string getFirstName();
|
||||
std::string getLastName();
|
||||
std::string getUserName();
|
||||
|
||||
private:
|
||||
Json::Int64 id;
|
||||
std::string first_name;
|
||||
|
||||
Reference in New Issue
Block a user