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