LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Sticker.cc
Go to the documentation of this file.
1
#include "
Telegram/Sticker.h
"
2
3
Telegram::Sticker::Sticker
(Json::Value json) {
4
5
this->
file_id
= json[
"file_id"
].asString();
6
this->
width
= json[
"width"
].asInt64();
7
this->
height
= json[
"height"
].asInt64();
8
this->
thumb
=
new
PhotoSize
(json[
"thumb"
]);
9
this->
file_size
= json[
"file_size"
].asInt64();
10
}
Telegram::Sticker::thumb
PhotoSize * thumb
Definition:
Sticker.h:19
Telegram::Sticker::file_size
Json::Int64 file_size
Definition:
Sticker.h:20
Telegram::Sticker::height
Json::Int64 height
Definition:
Sticker.h:18
Telegram::PhotoSize
Definition:
PhotoSize.h:9
Telegram::Sticker::Sticker
Sticker(Json::Value)
Definition:
Sticker.cc:3
Sticker.h
Telegram::Sticker::file_id
std::string file_id
Definition:
Sticker.h:16
Telegram::Sticker::width
Json::Int64 width
Definition:
Sticker.h:17
src
Sticker.cc
Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by
1.8.6