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::uint32_t > thumbnailWidth { }
 Optional. Thumbnail width.
std::optional< std::uint32_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 5476 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 5477 of file Types.h.

Member Data Documentation

◆ address

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

Address of the venue.

Definition at line 5504 of file Types.h.

◆ foursquareId

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

Optional. Foursquare identifier of the venue if known.

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

◆ googlePlaceId

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

Optional. Google Places identifier of the venue.

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

◆ id

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

Unique identifier for this result, 1-64 Bytes.

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

◆ latitude

double TgBot::InlineQueryResultVenue::latitude { }

Latitude of the venue location in degrees.

Definition at line 5492 of file Types.h.

◆ longitude

double TgBot::InlineQueryResultVenue::longitude { }

Longitude of the venue location in degrees.

Definition at line 5496 of file Types.h.

◆ replyMarkup

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

Optional. Inline keyboard attached to the message.

Definition at line 5525 of file Types.h.

◆ thumbnailHeight

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

Optional. Thumbnail height.

Definition at line 5541 of file Types.h.

◆ thumbnailUrl

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

Optional. Url of the thumbnail for the result.

Definition at line 5533 of file Types.h.

◆ thumbnailWidth

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

Optional. Thumbnail width.

Definition at line 5537 of file Types.h.

◆ title

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

Title of the venue.

Definition at line 5500 of file Types.h.

◆ TYPE

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

Definition at line 5479 of file Types.h.

◆ type

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

Type of the result, must be venue.

Definition at line 5484 of file Types.h.


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