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