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

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 <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. (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 https://developers.google.com/places/web-service/supported_types.)
 
InputMessageContent::Ptr inputMessageContent
 Optional. Content of the message to be sent instead of the venue.
 
std::string thumbUrl
 Optional. Url of the thumbnail for the result.
 
std::int32_t thumbWidth
 Optional. Thumbnail width.
 
std::int32_t thumbHeight
 Optinal. 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 20 of file InlineQueryResultVenue.h.

Member Typedef Documentation

◆ Ptr

Definition at line 24 of file InlineQueryResultVenue.h.

Constructor & Destructor Documentation

◆ InlineQueryResultVenue()

TgBot::InlineQueryResultVenue::InlineQueryResultVenue ( )
inline

Definition at line 26 of file InlineQueryResultVenue.h.

Member Data Documentation

◆ address

std::string TgBot::InlineQueryResultVenue::address

Address of the venue.

Definition at line 48 of file InlineQueryResultVenue.h.

◆ foursquareId

std::string TgBot::InlineQueryResultVenue::foursquareId

Optional. Foursquare identifier of the venue if known.

Definition at line 53 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 59 of file InlineQueryResultVenue.h.

◆ googlePlaceId

std::string TgBot::InlineQueryResultVenue::googlePlaceId

Optional. Google Places identifier of the venue.

Definition at line 64 of file InlineQueryResultVenue.h.

◆ googlePlaceType

std::string TgBot::InlineQueryResultVenue::googlePlaceType

Optional. Google Places type of the venue. (See https://developers.google.com/places/web-service/supported_types.)

Definition at line 70 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 75 of file InlineQueryResultVenue.h.

◆ latitude

float TgBot::InlineQueryResultVenue::latitude

Latitude of the venue location in degrees.

Definition at line 33 of file InlineQueryResultVenue.h.

◆ longitude

float TgBot::InlineQueryResultVenue::longitude

Longitude of the venue location in degrees.

Definition at line 38 of file InlineQueryResultVenue.h.

◆ thumbHeight

std::int32_t TgBot::InlineQueryResultVenue::thumbHeight

Optinal. Thumbnail height.

Definition at line 90 of file InlineQueryResultVenue.h.

◆ thumbUrl

std::string TgBot::InlineQueryResultVenue::thumbUrl

Optional. Url of the thumbnail for the result.

Definition at line 80 of file InlineQueryResultVenue.h.

◆ thumbWidth

std::int32_t TgBot::InlineQueryResultVenue::thumbWidth

Optional. Thumbnail width.

Definition at line 85 of file InlineQueryResultVenue.h.

◆ title

std::string TgBot::InlineQueryResultVenue::title

Title of the venue.

Definition at line 43 of file InlineQueryResultVenue.h.

◆ TYPE

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

Definition at line 22 of file InlineQueryResultVenue.h.


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