tgbot-cpp
Loading...
Searching...
No Matches
InputVenueMessageContent.h
Go to the documentation of this file.
1#ifndef TGBOT_INPUTVENUEMESSAGECONTENT_H
2#define TGBOT_INPUTVENUEMESSAGECONTENT_H
3
5
6#include <memory>
7#include <string>
8
9namespace TgBot {
10
17public:
18 static const std::string TYPE;
19
20 typedef std::shared_ptr<InputVenueMessageContent> Ptr;
21
23 this->type = TYPE;
24 }
25
29 float latitude;
30
34 float longitude;
35
39 std::string title;
40
44 std::string address;
45
49 std::string foursquareId;
50
55 std::string foursquareType;
56
60 std::string googlePlaceId;
61
66 std::string googlePlaceType;
67};
68}
69
70#endif //TGBOT_INPUTVENUEMESSAGECONTENT_H
This abstract class is base of all message contents.
std::string type
Type of the content.
Represents the content of a venue message to be sent as the result of an inline query.
std::string address
Address of the venue.
std::shared_ptr< InputVenueMessageContent > Ptr
std::string foursquareId
Optional. Foursquare identifier of the venue, if known.
std::string foursquareType
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”,...
std::string googlePlaceType
Optional. Google Places type of the venue. (See https://developers.google.com/places/web-service/supp...
std::string googlePlaceId
Optional. Google Places identifier of the venue.
float latitude
Latitude of the location in degrees.
float longitude
Longitude of the location in degrees.
std::string title
Name of the venue.
Definition Api.h:40