LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
PhotoSize.cc
Go to the documentation of this file.
1
#include "
Telegram/PhotoSize.h
"
2
3
Telegram::PhotoSize::PhotoSize
(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->
file_size
= json[
"file_size"
].asInt64();
9
}
Telegram::PhotoSize::width
Json::Int64 width
Definition:
PhotoSize.h:15
Telegram::PhotoSize::height
Json::Int64 height
Definition:
PhotoSize.h:16
PhotoSize.h
Telegram::PhotoSize::file_id
std::string file_id
Definition:
PhotoSize.h:14
Telegram::PhotoSize::file_size
Json::Int64 file_size
Definition:
PhotoSize.h:17
Telegram::PhotoSize::PhotoSize
PhotoSize(Json::Value)
Definition:
PhotoSize.cc:3
src
PhotoSize.cc
Generated on Wed Jun 7 2017 20:37:38 for LibTgBotPP by
1.8.6