tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the venue. More...
#include <InlineQueryResult.hpp>
Public Member Functions | |
InlineQueryResultVenue () | |
InlineQueryResultVenue (const nl::json &json) | |
nl::json | toJson () const override |
void | fromJson (const nl::json &json) override |
Public Member Functions inherited from tgbotxx::InlineQueryResult | |
InlineQueryResult ()=default | |
InlineQueryResult (const nl::json &json) | |
Public Attributes | |
float | latitude {} |
Latitude of the venue location in degrees. More... | |
float | longitude {} |
Longitude of the venue location in degrees. More... | |
std::string | title |
Title 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.) More... | |
Ptr< InputMessageContent > | inputMessageContent |
Optional. Content of the message to be sent instead of the venue. More... | |
std::string | thumbnailUrl |
Optional. URL of the thumbnail (JPEG only) for the file. More... | |
std::int32_t | thumbnailWidth {} |
Optional. Thumbnail width;. More... | |
std::int32_t | thumbnailHeight {} |
Optional. Thumbnail height;. More... | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
std::string | type |
Type of the result. More... | |
std::string | id |
Unique identifier for this result, 1-64 bytes. More... | |
Ptr< InlineKeyboardMarkup > | replyMarkup |
Optional. Inline keyboard attached to the message. More... | |
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use inputMessageContent to send a message with the specified content instead of the venue.
Definition at line 721 of file InlineQueryResult.hpp.
|
inline |
Definition at line 722 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 725 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 783 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 766 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::address |
Address of the venue.
Definition at line 739 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::foursquareId |
Optional. Foursquare identifier of the venue if known.
Definition at line 742 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::foursquareType |
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Definition at line 746 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 749 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::googlePlaceType |
Optional. Google Places type of the venue. (See supported types.)
Definition at line 752 of file InlineQueryResult.hpp.
Ptr<InputMessageContent> tgbotxx::InlineQueryResultVenue::inputMessageContent |
Optional. Content of the message to be sent instead of the venue.
Definition at line 755 of file InlineQueryResult.hpp.
float tgbotxx::InlineQueryResultVenue::latitude {} |
Latitude of the venue location in degrees.
Definition at line 730 of file InlineQueryResult.hpp.
float tgbotxx::InlineQueryResultVenue::longitude {} |
Longitude of the venue location in degrees.
Definition at line 733 of file InlineQueryResult.hpp.
std::int32_t tgbotxx::InlineQueryResultVenue::thumbnailHeight {} |
Optional. Thumbnail height;.
Definition at line 764 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::thumbnailUrl |
Optional. URL of the thumbnail (JPEG only) for the file.
Definition at line 758 of file InlineQueryResult.hpp.
std::int32_t tgbotxx::InlineQueryResultVenue::thumbnailWidth {} |
Optional. Thumbnail width;.
Definition at line 761 of file InlineQueryResult.hpp.
std::string tgbotxx::InlineQueryResultVenue::title |
Title of the venue.
Definition at line 736 of file InlineQueryResult.hpp.