tgbot-cpp
InlineQueryResultVenue.h
Go to the documentation of this file.
1
//
2
// Created by Konstantin Kukin on 27/12/16
3
//
4
5
#ifndef TGBOT_INLINEQUERYRESULTVENUE_H
6
#define TGBOT_INLINEQUERYRESULTVENUE_H
7
8
#include <string>
9
#include <memory>
10
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
19
class
InlineQueryResultVenue
:
public
InlineQueryResult
{
20
public
:
21
static
const
std::string
TYPE
;
22
23
typedef
std::shared_ptr<InlineQueryResultVenue>
Ptr
;
24
25
InlineQueryResultVenue
() {
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
address
;
45
49
std::string
foursquareId
;
50
54
std::string
thumbUrl
;
55
59
int32_t
thumbWidth
;
60
64
int32_t
thumbHeight
;
65
};
66
}
67
68
#endif //TGBOT_INLINEQUERYRESULTVENUE_H
TgBot::InlineQueryResultVenue::Ptr
std::shared_ptr< InlineQueryResultVenue > Ptr
Definition:
InlineQueryResultVenue.h:23
TgBot::InlineQueryResultVenue
Definition:
InlineQueryResultVenue.h:19
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultVenue::longitude
float longitude
Definition:
InlineQueryResultVenue.h:39
InlineQueryResult.h
TgBot::InlineQueryResultVenue::InlineQueryResultVenue
InlineQueryResultVenue()
Definition:
InlineQueryResultVenue.h:25
TgBot::InlineQueryResultVenue::foursquareId
std::string foursquareId
Definition:
InlineQueryResultVenue.h:49
TgBot::InlineQueryResultVenue::latitude
float latitude
Definition:
InlineQueryResultVenue.h:34
TgBot::InlineQueryResultVenue::address
std::string address
Definition:
InlineQueryResultVenue.h:44
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultVenue::thumbUrl
std::string thumbUrl
Definition:
InlineQueryResultVenue.h:54
TgBot::InlineQueryResultVenue::thumbWidth
int32_t thumbWidth
Definition:
InlineQueryResultVenue.h:59
TgBot::InlineQueryResultVenue::thumbHeight
int32_t thumbHeight
Definition:
InlineQueryResultVenue.h:64
TgBot::InlineQueryResultVenue::TYPE
static const std::string TYPE
Definition:
InlineQueryResultVenue.h:21
include
tgbot
types
InlineQueryResultVenue.h
Generated on Mon Jan 2 2017 23:04:20 for tgbot-cpp by
1.8.13