Initial commit

This commit is contained in:
Moritz Sternemann
2015-12-29 16:44:16 +01:00
commit 3663fd38ce
41 changed files with 2095 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#include "contact.h"
using namespace Telegram;
Contact::Contact(QJsonObject contact)
{
phoneNumber = contact.value("phone_number").toString();
firstname = contact.value("first_name").toString();
lastname = contact.value("last_name").toString();
userId = contact.value("user_id").toInt();
}