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 <string>
9#include <memory>
10
11namespace TgBot {
12
21public:
22 static const std::string TYPE;
23
24 typedef std::shared_ptr<InlineQueryResultVenue> Ptr;
25
27 this->type = TYPE;
28 }
29
33 float latitude;
34
38 float longitude;
39
43 std::string title;
44
48 std::string address;
49
53 std::string foursquareId;
54
59 std::string foursquareType;
60
64 std::string googlePlaceId;
65
70 std::string googlePlaceType;
71
76
80 std::string thumbUrl;
81
85 std::int32_t thumbWidth;
86
90 std::int32_t thumbHeight;
91};
92}
93
94#endif //TGBOT_INLINEQUERYRESULTVENUE_H
This abstract class is base of all inline query results.
std::string type
Type of the result.
Represents a venue. By default, the venue will be sent by the user. Alternatively,...
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. (For example, “arts_entertainment/default”,...
std::string googlePlaceId
Optional. Google Places identifier of the venue.
std::int32_t thumbWidth
Optional. Thumbnail width.
std::shared_ptr< InlineQueryResultVenue > Ptr
float longitude
Longitude of the venue location in degrees.
std::string thumbUrl
Optional. Url of the thumbnail for the result.
float latitude
Latitude of the venue location in degrees.
std::string title
Title of the venue.
std::string googlePlaceType
Optional. Google Places type of the venue. (See https://developers.google.com/places/web-service/supp...
InputMessageContent::Ptr inputMessageContent
Optional. Content of the message to be sent instead of the venue.
std::int32_t thumbHeight
Optinal. Thumbnail height.
std::shared_ptr< InputMessageContent > Ptr
Definition Api.h:39