tgbot-cpp
InlineQueryResultVideo.h
Go to the documentation of this file.
1
//
2
// Created by Andrea Giove on 27/03/16.
3
//
4
5
#ifndef TGBOT_INLINEQUERYRESULTVIDEO_H
6
#define TGBOT_INLINEQUERYRESULTVIDEO_H
7
8
namespace
TgBot
{
9
14
class
InlineQueryResultVideo
:
public
InlineQueryResult
{
15
public
:
16
static
const
std::string
TYPE
;
17
18
typedef
std::shared_ptr<InlineQueryResultVideo>
Ptr
;
19
20
InlineQueryResultVideo
() {
21
this->
type
=
TYPE
;
22
this->
videoWidth
= 0;
23
this->
videoHeight
= 0;
24
this->
videoDuration
= 0;
25
};
26
30
std::string
videoUrl
;
31
35
std::string
mimeType
;
36
40
std::string
thumbUrl
;
41
45
int32_t
videoWidth
;
46
50
int32_t
videoHeight
;
51
55
int32_t
videoDuration
;
56
60
std::string
description
;
61
62
};
63
}
64
65
#endif //TGBOT_INLINEQUERYRESULTVIDEO_H
TgBot::InlineQueryResultVideo
Definition:
InlineQueryResultVideo.h:14
TgBot::InlineQueryResultVideo::TYPE
static const std::string TYPE
Definition:
InlineQueryResultVideo.h:16
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultVideo::InlineQueryResultVideo
InlineQueryResultVideo()
Definition:
InlineQueryResultVideo.h:20
TgBot::InlineQueryResultVideo::videoHeight
int32_t videoHeight
Definition:
InlineQueryResultVideo.h:50
TgBot::InlineQueryResultVideo::Ptr
std::shared_ptr< InlineQueryResultVideo > Ptr
Definition:
InlineQueryResultVideo.h:18
TgBot::InlineQueryResultVideo::videoDuration
int32_t videoDuration
Definition:
InlineQueryResultVideo.h:55
TgBot::InlineQueryResultVideo::description
std::string description
Definition:
InlineQueryResultVideo.h:60
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultVideo::videoUrl
std::string videoUrl
Definition:
InlineQueryResultVideo.h:25
TgBot::InlineQueryResultVideo::thumbUrl
std::string thumbUrl
Definition:
InlineQueryResultVideo.h:40
TgBot::InlineQueryResultVideo::mimeType
std::string mimeType
Definition:
InlineQueryResultVideo.h:35
TgBot::InlineQueryResultVideo::videoWidth
int32_t videoWidth
Definition:
InlineQueryResultVideo.h:45
include
tgbot
types
InlineQueryResultVideo.h
Generated on Mon May 15 2017 00:23:55 for tgbot-cpp by
1.8.13