|
tgbotxx 1.2.9.2
Telegram Bot C++ Library
|
Represents the content of a venue message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputvenuemessagecontent. More...
#include <InputMessageContent.hpp>
Public Member Functions | |
| InputVenueMessageContent () | |
| InputVenueMessageContent (const nl::json &json) | |
| nl::json | toJson () const override |
| void | fromJson (const nl::json &json) override |
Public Attributes | |
| float | latitude {} |
| Latitude of the venue in degrees. | |
| float | longitude {} |
| Longitude of the venue in degrees. | |
| std::string | title |
| Name of the venue. | |
| std::string | address |
| Address of the venue. | |
| 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”, “arts_entertainment/aquarium” or “food/icecream”.) | |
| std::string | googlePlaceId |
| Optional. Google Places identifier of the venue. | |
| std::string | googlePlaceType |
| Optional. Google Places type of the venue. (See supported types.) https://developers.google.com/places/web-service/supported_types. | |
Represents the content of a venue message to be sent as the result of an inline query. https://core.telegram.org/bots/api#inputvenuemessagecontent.
Definition at line 127 of file InputMessageContent.hpp.
|
inline |
Definition at line 128 of file InputMessageContent.hpp.
|
inlineexplicit |
Definition at line 131 of file InputMessageContent.hpp.
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 172 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 159 of file InputMessageContent.hpp.
| std::string tgbotxx::InputVenueMessageContent::address |
Address of the venue.
Definition at line 145 of file InputMessageContent.hpp.
| std::string tgbotxx::InputVenueMessageContent::foursquareId |
Optional. Foursquare identifier of the venue, if known.
Definition at line 148 of file InputMessageContent.hpp.
| std::string tgbotxx::InputVenueMessageContent::foursquareType |
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Definition at line 151 of file InputMessageContent.hpp.
| std::string tgbotxx::InputVenueMessageContent::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 154 of file InputMessageContent.hpp.
| std::string tgbotxx::InputVenueMessageContent::googlePlaceType |
Optional. Google Places type of the venue. (See supported types.) https://developers.google.com/places/web-service/supported_types.
Definition at line 157 of file InputMessageContent.hpp.
| float tgbotxx::InputVenueMessageContent::latitude {} |
Latitude of the venue in degrees.
Definition at line 136 of file InputMessageContent.hpp.
| float tgbotxx::InputVenueMessageContent::longitude {} |
Longitude of the venue in degrees.
Definition at line 139 of file InputMessageContent.hpp.
| std::string tgbotxx::InputVenueMessageContent::title |
Name of the venue.
Definition at line 142 of file InputMessageContent.hpp.