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