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
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
19
class
InlineQueryResultAudio
:
public
InlineQueryResult
{
20
public
:
21
static
const
std::string
TYPE
;
22
23
typedef
std::shared_ptr<InlineQueryResultAudio>
Ptr
;
24
25
InlineQueryResultAudio
() {
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
TgBot::InlineQueryResultAudio::Ptr
std::shared_ptr< InlineQueryResultAudio > Ptr
Definition:
InlineQueryResultAudio.h:23
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultAudio::TYPE
static const std::string TYPE
Definition:
InlineQueryResultAudio.h:21
InlineQueryResult.h
TgBot::InlineQueryResultAudio::audioUrl
std::string audioUrl
Definition:
InlineQueryResultAudio.h:33
TgBot::InlineQueryResultAudio::audioDuration
int32_t audioDuration
Definition:
InlineQueryResultAudio.h:43
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultAudio::performer
std::string performer
Definition:
InlineQueryResultAudio.h:38
TgBot::InlineQueryResultAudio
Definition:
InlineQueryResultAudio.h:19
TgBot::InlineQueryResultAudio::InlineQueryResultAudio
InlineQueryResultAudio()
Definition:
InlineQueryResultAudio.h:25
include
tgbot
types
InlineQueryResultAudio.h
Generated on Mon Jan 2 2017 23:04:20 for tgbot-cpp by
1.8.13