|
tgbotxx 1.1.9.2
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) | |
| virtual | ~InlineQueryResult ()=default |
Public Attributes | |
| float | latitude {} |
| Latitude of the venue location in degrees. | |
| float | longitude {} |
| Longitude of the venue location in degrees. | |
| std::string | title |
| Title 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.) | |
| Ptr< InputMessageContent > | inputMessageContent |
| Optional. Content of the message to be sent instead of the venue. | |
| std::string | thumbnailUrl |
| Optional. URL of the thumbnail (JPEG only) for the file. | |
| std::int32_t | thumbnailWidth {} |
| Optional. Thumbnail width;. | |
| std::int32_t | thumbnailHeight {} |
| Optional. Thumbnail height;. | |
Public Attributes inherited from tgbotxx::InlineQueryResult | |
| std::string | type |
| Type of the result. | |
| std::string | id |
| Unique identifier for this result, 1-64 bytes. | |
| Ptr< InlineKeyboardMarkup > | replyMarkup |
| Optional. Inline keyboard attached to the message. | |
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 722 of file InlineQueryResult.hpp.
|
inline |
Definition at line 723 of file InlineQueryResult.hpp.
|
inlineexplicit |
Definition at line 726 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 784 of file InlineQueryResult.hpp.
|
inlineoverridevirtual |
Reimplemented from tgbotxx::InlineQueryResult.
Definition at line 767 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultVenue::address |
Address of the venue.
Definition at line 740 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultVenue::foursquareId |
Optional. Foursquare identifier of the venue if known.
Definition at line 743 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 747 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultVenue::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 750 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultVenue::googlePlaceType |
Optional. Google Places type of the venue. (See supported types.)
Definition at line 753 of file InlineQueryResult.hpp.
| Ptr<InputMessageContent> tgbotxx::InlineQueryResultVenue::inputMessageContent |
Optional. Content of the message to be sent instead of the venue.
Definition at line 756 of file InlineQueryResult.hpp.
| float tgbotxx::InlineQueryResultVenue::latitude {} |
Latitude of the venue location in degrees.
Definition at line 731 of file InlineQueryResult.hpp.
| float tgbotxx::InlineQueryResultVenue::longitude {} |
Longitude of the venue location in degrees.
Definition at line 734 of file InlineQueryResult.hpp.
| std::int32_t tgbotxx::InlineQueryResultVenue::thumbnailHeight {} |
Optional. Thumbnail height;.
Definition at line 765 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultVenue::thumbnailUrl |
Optional. URL of the thumbnail (JPEG only) for the file.
Definition at line 759 of file InlineQueryResult.hpp.
| std::int32_t tgbotxx::InlineQueryResultVenue::thumbnailWidth {} |
Optional. Thumbnail width;.
Definition at line 762 of file InlineQueryResult.hpp.
| std::string tgbotxx::InlineQueryResultVenue::title |
Title of the venue.
Definition at line 737 of file InlineQueryResult.hpp.