Files

13 lines
340 B
C++
Raw Permalink Normal View History

2015-12-29 16:44:16 +01:00
#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();
}