tgbot-cpp
Voice.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_VOICE_H
6 #define TGBOT_VOICE_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
17 class Voice {
18 public:
19  typedef std::shared_ptr<Voice> Ptr;
20 
24  std::string file_id;
25 
29  int32_t duration;
30 
34  std::string mime_type;
35 
39  int32_t file_size;
40 };
41 }
42 
43 #endif //TGBOT_VOICE_H
std::string file_id
Definition: Voice.h:24
Definition: Api.h:44
int32_t duration
Definition: Voice.h:29
int32_t file_size
Definition: Voice.h:39
std::shared_ptr< Voice > Ptr
Definition: Voice.h:19
std::string mime_type
Definition: Voice.h:34