Added emoji

This commit is contained in:
Hauke Zühl 2016-05-23 13:10:51 +02:00
parent 18101809d8
commit b0fc0506a9
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ namespace Telegram {
Json::Int64 width;
Json::Int64 height;
PhotoSize *thumb;
std::string emoji;
Json::Int64 file_size;
};
}

View File

@ -6,5 +6,6 @@ Telegram::Sticker::Sticker(Json::Value json) {
this->width = json["width"].asInt64();
this->height = json["height"].asInt64();
this->thumb = new PhotoSize(json["thumb"]);
this->emoji = json["emoji"].asString();
this->file_size = json["file_size"].asInt64();
}