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