tgbot-cpp
Loading...
Searching...
No Matches
InlineQueryResultVenue.h
Go to the documentation of this file.
1#ifndef TGBOT_INLINEQUERYRESULTVENUE_H
2#define TGBOT_INLINEQUERYRESULTVENUE_H
3
6
7#include <cstdint>
8#include <memory>
9#include <string>
10
11namespace TgBot {
12
22
23public:
24 static const std::string TYPE;
25
26 typedef std::shared_ptr<InlineQueryResultVenue> Ptr;
27
29 this->type = TYPE;
30 }
31
35 float latitude;
36
40 float longitude;
41
45 std::string title;
46
50 std::string address;
51
55 std::string foursquareId;
56
62 std::string foursquareType;
63
67 std::string googlePlaceId;
68
74 std::string googlePlaceType;
75
80
84 std::string thumbnailUrl;
85
89 std::int32_t thumbnailWidth;
90
94 std::int32_t thumbnailHeight;
95};
96}
97
98#endif //TGBOT_INLINEQUERYRESULTVENUE_H
This object represents one result of an inline query.
std::string type
Type of the result.
std::string foursquareId
Optional. Foursquare identifier of the venue if known.
std::string address
Address of the venue.
std::string foursquareType
Optional. Foursquare type of the venue, if known.
std::string googlePlaceId
Optional. Google Places identifier of the venue.
std::shared_ptr< InlineQueryResultVenue > Ptr
float longitude
Longitude of the venue location in degrees.
float latitude
Latitude of the venue location in degrees.
std::int32_t thumbnailHeight
Optional. Thumbnail height.
std::string title
Title of the venue.
std::string googlePlaceType
Optional. Google Places type of the venue.
std::string thumbnailUrl
Optional. Url of the thumbnail for the result.
std::int32_t thumbnailWidth
Optional. Thumbnail width.
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the venue.
std::shared_ptr< InputMessageContent > Ptr
Definition Api.h:40