tgbot-cpp
InlineQueryResultGif.h
Go to the documentation of this file.
1
//
2
// Created by Andrea Giove on 27/03/16.
3
//
4
5
#ifndef TGBOT_INLINEQUERYRESULTGIF_H
6
#define TGBOT_INLINEQUERYRESULTGIF_H
7
8
#include <string>
9
#include <memory>
10
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
19
class
InlineQueryResultGif
:
public
InlineQueryResult
{
20
public
:
21
static
const
std::string
TYPE
;
22
23
typedef
std::shared_ptr<InlineQueryResultGif>
Ptr
;
24
25
InlineQueryResultGif
() {
26
this->
type
=
TYPE
;
27
this->
gifWidth
= 0;
28
this->
gifHeight
= 0;
29
}
30
34
std::string
gifUrl
;
35
39
int32_t
gifWidth
;
40
44
int32_t
gifHeight
;
45
49
std::string
thumbUrl
;
50
51
};
52
}
53
54
#endif //TGBOT_INLINEQUERYRESULTGIF_H
TgBot::InlineQueryResultGif::gifWidth
int32_t gifWidth
Definition:
InlineQueryResultGif.h:39
TgBot::InlineQueryResultGif::Ptr
std::shared_ptr< InlineQueryResultGif > Ptr
Definition:
InlineQueryResultGif.h:23
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultGif::gifHeight
int32_t gifHeight
Definition:
InlineQueryResultGif.h:44
TgBot::InlineQueryResultGif::gifUrl
std::string gifUrl
Definition:
InlineQueryResultGif.h:34
TgBot::InlineQueryResultGif::thumbUrl
std::string thumbUrl
Definition:
InlineQueryResultGif.h:49
InlineQueryResult.h
TgBot::InlineQueryResultGif
Definition:
InlineQueryResultGif.h:19
TgBot::InlineQueryResultGif::TYPE
static const std::string TYPE
Definition:
InlineQueryResultGif.h:21
TgBot::InlineQueryResultGif::InlineQueryResultGif
InlineQueryResultGif()
Definition:
InlineQueryResultGif.h:25
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
include
tgbot
types
InlineQueryResultGif.h
Generated on Mon Jan 2 2017 23:04:20 for tgbot-cpp by
1.8.13