LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
PhotoSize.h
Go to the documentation of this file.
1 #ifndef _TG_PHOTOSIZE_H_
2 #define _TG_PHOTOSIZE_H_
3 
4 #include <json/json.h>
5 #include <string>
6 
7 namespace Telegram {
8 
9  class PhotoSize {
10  public:
11  PhotoSize(Json::Value);
12 
13  private:
14  std::string file_id;
15  Json::Int64 width;
16  Json::Int64 height;
17  Json::Int64 file_size;
18  };
19 }
20 
21 #endif
Json::Int64 width
Definition: PhotoSize.h:15
Definition: PhotoSize.h:9
Json::Int64 height
Definition: PhotoSize.h:16
std::string file_id
Definition: PhotoSize.h:14
Json::Int64 file_size
Definition: PhotoSize.h:17
PhotoSize(Json::Value)
Definition: PhotoSize.cc:3