tgbot-cpp
InlineQueryResultAudio.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTAUDIO_H
6 #define TGBOT_INLINEQUERYRESULTAUDIO_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultAudio> Ptr;
24 
26  this->type = TYPE;
27  this->audioDuration = 0;
28  }
29 
33  std::string audioUrl;
34 
38  std::string performer;
39 
43  int32_t audioDuration;
44 };
45 }
46 
47 #endif //TGBOT_INLINEQUERYRESULTAUDIO_H
std::shared_ptr< InlineQueryResultAudio > Ptr
Definition: Api.h:44