tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InlineQueryResultVenue Struct Reference

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>

Public Types

using Ptr = std::shared_ptr<InlineQueryResultVenue>

Public Attributes

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.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

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 5223 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 5224 of file Types.h.

Member Data Documentation

◆ address

std::string TgBot::InlineQueryResultVenue::address { }

Address of the venue.

Definition at line 5251 of file Types.h.

◆ foursquareId

std::optional<std::string> TgBot::InlineQueryResultVenue::foursquareId { }

Optional. Foursquare identifier of the venue if known.

Definition at line 5255 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 5260 of file Types.h.

◆ googlePlaceId

std::optional<std::string> TgBot::InlineQueryResultVenue::googlePlaceId { }

Optional. Google Places identifier of the venue.

Definition at line 5264 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 5268 of file Types.h.

◆ id

std::string TgBot::InlineQueryResultVenue::id { }

Unique identifier for this result, 1-64 Bytes.

Definition at line 5235 of file Types.h.

◆ inputMessageContent

std::shared_ptr<InputMessageContent> TgBot::InlineQueryResultVenue::inputMessageContent { }

Optional. Content of the message to be sent instead of the venue.

Definition at line 5276 of file Types.h.

◆ latitude

double TgBot::InlineQueryResultVenue::latitude { }

Latitude of the venue location in degrees.

Definition at line 5239 of file Types.h.

◆ longitude

double TgBot::InlineQueryResultVenue::longitude { }

Longitude of the venue location in degrees.

Definition at line 5243 of file Types.h.

◆ replyMarkup

std::shared_ptr<InlineKeyboardMarkup> TgBot::InlineQueryResultVenue::replyMarkup { }

Optional. Inline keyboard attached to the message.

Definition at line 5272 of file Types.h.

◆ thumbnailHeight

std::optional<std::int32_t> TgBot::InlineQueryResultVenue::thumbnailHeight { }

Optional. Thumbnail height.

Definition at line 5288 of file Types.h.

◆ thumbnailUrl

std::optional<std::string> TgBot::InlineQueryResultVenue::thumbnailUrl { }

Optional. Url of the thumbnail for the result.

Definition at line 5280 of file Types.h.

◆ thumbnailWidth

std::optional<std::int32_t> TgBot::InlineQueryResultVenue::thumbnailWidth { }

Optional. Thumbnail width.

Definition at line 5284 of file Types.h.

◆ title

std::string TgBot::InlineQueryResultVenue::title { }

Title of the venue.

Definition at line 5247 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InlineQueryResultVenue::TYPE
static

Definition at line 5226 of file Types.h.

◆ type

std::string TgBot::InlineQueryResultVenue::type { TYPE }

Type of the result, must be venue.

Definition at line 5231 of file Types.h.


The documentation for this struct was generated from the following file: