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
14
class
InlineQueryResultVoice
:
public
InlineQueryResult
{
15
public
:
16
static
const
std::string
TYPE
;
17
18
typedef
std::shared_ptr<InlineQueryResultVoice>
Ptr
;
19
20
InlineQueryResultVoice
() {
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
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot::InlineQueryResultVoice::voiceUrl
std::string voiceUrl
Definition:
InlineQueryResultVoice.h:23
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultVoice::TYPE
static const std::string TYPE
Definition:
InlineQueryResultVoice.h:16
TgBot::InlineQueryResultVoice::InlineQueryResultVoice
InlineQueryResultVoice()
Definition:
InlineQueryResultVoice.h:20
TgBot::InlineQueryResultVoice::Ptr
std::shared_ptr< InlineQueryResultVoice > Ptr
Definition:
InlineQueryResultVoice.h:18
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultVoice
Definition:
InlineQueryResultVoice.h:14
TgBot::InlineQueryResultVoice::voiceDuration
int32_t voiceDuration
Definition:
InlineQueryResultVoice.h:33
include
tgbot
types
InlineQueryResultVoice.h
Generated on Sun Jan 15 2017 02:46:16 for tgbot-cpp by
1.8.13