Added get methods to User class

This commit is contained in:
Hauke Zühl
2017-06-07 20:39:42 +02:00
parent 14f40d257d
commit fc91e260d2
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;