Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the result, must be venue.
|
| std::string | id { } |
| | Unique identifier for this result, 1-64 Bytes.
|
| double | latitude { } |
| | Latitude of the venue location in degrees.
|
| double | longitude { } |
| | Longitude of the venue location in degrees.
|
| std::string | title { } |
| | Title of the venue.
|
| std::string | address { } |
| | Address of the venue.
|
| std::optional< std::string > | foursquareId { } |
| | Optional. Foursquare identifier of the venue if known.
|
| std::optional< std::string > | foursquareType { } |
| | Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
|
| std::optional< std::string > | googlePlaceId { } |
| | Optional. Google Places identifier of the venue.
|
| std::optional< std::string > | googlePlaceType { } |
| | Optional. Google Places type of the venue. (See supported types.).
|
| std::shared_ptr< InlineKeyboardMarkup > | replyMarkup { } |
| | Optional. Inline keyboard attached to the message.
|
| std::shared_ptr< InputMessageContent > | inputMessageContent { } |
| | Optional. Content of the message to be sent instead of the venue.
|
| std::optional< std::string > | thumbnailUrl { } |
| | Optional. Url of the thumbnail for the result.
|
| std::optional< std::int32_t > | thumbnailWidth { } |
| | Optional. Thumbnail width.
|
| std::optional< std::int32_t > | thumbnailHeight { } |
| | Optional. Thumbnail height.
|
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
Definition at line 5716 of file Types.h.
◆ Ptr
◆ address
| std::string TgBot::InlineQueryResultVenue::address { } |
Address of the venue.
Definition at line 5749 of file Types.h.
◆ foursquareId
| std::optional<std::string> TgBot::InlineQueryResultVenue::foursquareId { } |
Optional. Foursquare identifier of the venue if known.
Definition at line 5754 of file Types.h.
◆ foursquareType
| std::optional<std::string> TgBot::InlineQueryResultVenue::foursquareType { } |
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
Definition at line 5760 of file Types.h.
◆ googlePlaceId
| std::optional<std::string> TgBot::InlineQueryResultVenue::googlePlaceId { } |
Optional. Google Places identifier of the venue.
Definition at line 5765 of file Types.h.
◆ googlePlaceType
| std::optional<std::string> TgBot::InlineQueryResultVenue::googlePlaceType { } |
Optional. Google Places type of the venue. (See supported types.).
Definition at line 5770 of file Types.h.
◆ id
| std::string TgBot::InlineQueryResultVenue::id { } |
Unique identifier for this result, 1-64 Bytes.
Definition at line 5729 of file Types.h.
◆ inputMessageContent
Optional. Content of the message to be sent instead of the venue.
Definition at line 5780 of file Types.h.
◆ latitude
| double TgBot::InlineQueryResultVenue::latitude { } |
Latitude of the venue location in degrees.
Definition at line 5734 of file Types.h.
◆ longitude
| double TgBot::InlineQueryResultVenue::longitude { } |
Longitude of the venue location in degrees.
Definition at line 5739 of file Types.h.
◆ replyMarkup
Optional. Inline keyboard attached to the message.
Definition at line 5775 of file Types.h.
◆ thumbnailHeight
| std::optional<std::int32_t> TgBot::InlineQueryResultVenue::thumbnailHeight { } |
Optional. Thumbnail height.
Definition at line 5795 of file Types.h.
◆ thumbnailUrl
| std::optional<std::string> TgBot::InlineQueryResultVenue::thumbnailUrl { } |
Optional. Url of the thumbnail for the result.
Definition at line 5785 of file Types.h.
◆ thumbnailWidth
| std::optional<std::int32_t> TgBot::InlineQueryResultVenue::thumbnailWidth { } |
Optional. Thumbnail width.
Definition at line 5790 of file Types.h.
◆ title
| std::string TgBot::InlineQueryResultVenue::title { } |
Title of the venue.
Definition at line 5744 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::InlineQueryResultVenue::TYPE |
|
static |
◆ type
| std::string TgBot::InlineQueryResultVenue::type { TYPE } |
Type of the result, must be venue.
Definition at line 5724 of file Types.h.
The documentation for this struct was generated from the following file: