Added get methods to User class

This commit is contained in:
Hauke Zühl
2017-06-06 14:33:08 +02:00
parent 9e61e8ca07
commit 23370963d4
2 changed files with 29 additions and 0 deletions
+5
View File
@@ -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;