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 "sticker.h"
using namespace Telegram;
Sticker::Sticker(QJsonObject sticker)
{
fileId = sticker.value("file_id").toString();
width = sticker.value("width").toInt();
height = sticker.value("height").toInt();
thumb = PhotoSize(sticker.value("thumb").toObject());
fileSize = sticker.value("file_size").toInt();
}