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

Represents a venue. More...

#include <InlineQueryResultVenue.h>

Inheritance diagram for TgBot::InlineQueryResultVenue:
TgBot::InlineQueryResult

Public Types

typedef std::shared_ptr< InlineQueryResultVenuePtr
 
- Public Types inherited from TgBot::InlineQueryResult
typedef std::shared_ptr< InlineQueryResultPtr
 

Public Member Functions

 InlineQueryResultVenue ()
 
- Public Member Functions inherited from TgBot::InlineQueryResult
 InlineQueryResult ()
 
virtual ~InlineQueryResult ()
 

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.
 
std::string googlePlaceId
 Optional. Google Places identifier of the venue.
 
std::string googlePlaceType
 Optional. Google Places type of the venue.
 
InputMessageContent::Ptr inputMessageContent
 Optional. Content of the message to be sent instead of the venue.
 
std::string thumbnailUrl
 Optional. Url of the thumbnail for the result.
 
std::int32_t thumbnailWidth
 Optional. Thumbnail width.
 
std::int32_t thumbnailHeight
 Optional. Thumbnail height.
 
- Public Attributes inherited from TgBot::InlineQueryResult
std::string type
 Type of the result.
 
std::string id
 Unique identifier for this result, 1-64 bytes.
 
InlineKeyboardMarkup::Ptr replyMarkup
 Optional. Inline keyboard attached to the message.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

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 21 of file InlineQueryResultVenue.h.

Member Typedef Documentation

◆ Ptr

Definition at line 26 of file InlineQueryResultVenue.h.

Constructor & Destructor Documentation

◆ InlineQueryResultVenue()

TgBot::InlineQueryResultVenue::InlineQueryResultVenue ( )
inline

Definition at line 28 of file InlineQueryResultVenue.h.

Member Data Documentation

◆ address

std::string TgBot::InlineQueryResultVenue::address

Address of the venue.

Definition at line 50 of file InlineQueryResultVenue.h.

◆ foursquareId

std::string TgBot::InlineQueryResultVenue::foursquareId

Optional. Foursquare identifier of the venue if known.

Definition at line 55 of file InlineQueryResultVenue.h.

◆ foursquareType

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 62 of file InlineQueryResultVenue.h.

◆ googlePlaceId

std::string TgBot::InlineQueryResultVenue::googlePlaceId

Optional. Google Places identifier of the venue.

Definition at line 67 of file InlineQueryResultVenue.h.

◆ googlePlaceType

std::string TgBot::InlineQueryResultVenue::googlePlaceType

Optional. Google Places type of the venue.

(See supported types.)

Definition at line 74 of file InlineQueryResultVenue.h.

◆ inputMessageContent

InputMessageContent::Ptr TgBot::InlineQueryResultVenue::inputMessageContent

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

Definition at line 79 of file InlineQueryResultVenue.h.

◆ latitude

float TgBot::InlineQueryResultVenue::latitude

Latitude of the venue location in degrees.

Definition at line 35 of file InlineQueryResultVenue.h.

◆ longitude

float TgBot::InlineQueryResultVenue::longitude

Longitude of the venue location in degrees.

Definition at line 40 of file InlineQueryResultVenue.h.

◆ thumbnailHeight

std::int32_t TgBot::InlineQueryResultVenue::thumbnailHeight

Optional. Thumbnail height.

Definition at line 94 of file InlineQueryResultVenue.h.

◆ thumbnailUrl

std::string TgBot::InlineQueryResultVenue::thumbnailUrl

Optional. Url of the thumbnail for the result.

Definition at line 84 of file InlineQueryResultVenue.h.

◆ thumbnailWidth

std::int32_t TgBot::InlineQueryResultVenue::thumbnailWidth

Optional. Thumbnail width.

Definition at line 89 of file InlineQueryResultVenue.h.

◆ title

std::string TgBot::InlineQueryResultVenue::title

Title of the venue.

Definition at line 45 of file InlineQueryResultVenue.h.

◆ TYPE

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

Definition at line 24 of file InlineQueryResultVenue.h.


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