tgbotxx
1.1.6.9
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. More... | |
float | longitude {} |
Longitude of the venue in degrees. More... | |
std::string | title |
Name of the venue. More... | |
std::string | address |
Address of the venue. More... | |
std::string | foursquareId |
Optional. Foursquare identifier of the venue, if known. More... | |
std::string | foursquareType |
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.) More... | |
std::string | googlePlaceId |
Optional. Google Places identifier of the venue. More... | |
std::string | googlePlaceType |
Optional. Google Places type of the venue. (See supported types.) https://developers.google.com/places/web-service/supported_types. More... | |
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 132 of file InputMessageContent.hpp.
|
inline |
Definition at line 133 of file InputMessageContent.hpp.
|
inlineexplicit |
Definition at line 136 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 177 of file InputMessageContent.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InputMessageContent.
Definition at line 164 of file InputMessageContent.hpp.
std::string tgbotxx::InputVenueMessageContent::address |
Address of the venue.
Definition at line 150 of file InputMessageContent.hpp.
std::string tgbotxx::InputVenueMessageContent::foursquareId |
Optional. Foursquare identifier of the venue, if known.
Definition at line 153 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 156 of file InputMessageContent.hpp.
std::string tgbotxx::InputVenueMessageContent::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 159 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 162 of file InputMessageContent.hpp.
float tgbotxx::InputVenueMessageContent::latitude {} |
Latitude of the venue in degrees.
Definition at line 141 of file InputMessageContent.hpp.
float tgbotxx::InputVenueMessageContent::longitude {} |
Longitude of the venue in degrees.
Definition at line 144 of file InputMessageContent.hpp.
std::string tgbotxx::InputVenueMessageContent::title |
Name of the venue.
Definition at line 147 of file InputMessageContent.hpp.