blob: 41ac5e0ae48179ff1ac7d0db4a4b1ec12ddc0d4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#ifndef TGBOT_INPUTVENUEMESSAGECONTENT_H
#define TGBOT_INPUTVENUEMESSAGECONTENT_H
#include "tgbot/types/InputMessageContent.h"
#include <memory>
#include <string>
namespace TgBot {
/**
* @brief Represents the content of a venue message to be sent as the result of an inline query.
*
* @ingroup types
*/
class InputVenueMessageContent : public InputMessageContent {
public:
static const std::string TYPE;
typedef std::shared_ptr<InputVenueMessageContent> Ptr;
InputVenueMessageContent() {
this->type = TYPE;
}
/**
* @brief Latitude of the location in degrees
*/
float latitude;
/**
* @brief Longitude of the location in degrees
*/
float longitude;
/**
* @brief Name of the venue
*/
std::string title;
/**
* @brief Address of the venue
*/
std::string address;
/**
* @brief Optional. Foursquare identifier of the venue, if known
*/
std::string foursquareId;
/**
* @brief Optional. Foursquare type of the venue, if known.
* (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
*/
std::string foursquareType;
/**
* @brief Optional. Google Places identifier of the venue
*/
std::string googlePlaceId;
/**
* @brief Optional. Google Places type of the venue.
* (See https://developers.google.com/places/web-service/supported_types)
*/
std::string googlePlaceType;
};
}
#endif //TGBOT_INPUTVENUEMESSAGECONTENT_H
|