tgbot-cpp
InlineQueryResultVoice.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTVOICE_H
6 #define TGBOT_INLINEQUERYRESULTVOICE_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultVoice> Ptr;
19 
21  this->type = TYPE;
22  this->voiceDuration = 0;
23  };
24 
28  std::string voiceUrl;
29 
33  int32_t voiceDuration;
34 };
35 }
36 
37 #endif //TGBOT_INLINEQUERYRESULTVOICE_H
Definition: Api.h:44
std::shared_ptr< InlineQueryResultVoice > Ptr