Initial commit

This commit is contained in:
Moritz Sternemann committed 2015-12-29 16:44:16 +01:00
commit 3663fd38ce
41 files changed
+2095

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#include "document.h"
using namespace Telegram;
Document::Document(QJsonObject document)
{
fileId = document.value("file_id").toString();
thumb = PhotoSize(document.value("thumb").toObject());
fileName = document.value("file_name").toString();
mimeType = document.value("mime_type").toString();
fileSize = document.value("file_size").toInt();
}