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