forked from moritzsternemann/QtTelegramBot
Initial commit
This commit is contained in:
commit
3663fd38ce
41 files changed
+2095
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user