tgbot-cpp
|
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>
Public Types | |
typedef std::shared_ptr< InlineQueryResultVenue > | Ptr |
Public Types inherited from TgBot::InlineQueryResult | |
typedef std::shared_ptr< InlineQueryResult > | Ptr |
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 |
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.
typedef std::shared_ptr<InlineQueryResultVenue> TgBot::InlineQueryResultVenue::Ptr |
Definition at line 24 of file InlineQueryResultVenue.h.
|
inline |
Definition at line 26 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::address |
Address of the venue.
Definition at line 48 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::foursquareId |
Optional. Foursquare identifier of the venue if known.
Definition at line 53 of file InlineQueryResultVenue.h.
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.
std::string TgBot::InlineQueryResultVenue::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 64 of file InlineQueryResultVenue.h.
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::Ptr TgBot::InlineQueryResultVenue::inputMessageContent |
Optional. Content of the message to be sent instead of the venue.
Definition at line 75 of file InlineQueryResultVenue.h.
float TgBot::InlineQueryResultVenue::latitude |
Latitude of the venue location in degrees.
Definition at line 33 of file InlineQueryResultVenue.h.
float TgBot::InlineQueryResultVenue::longitude |
Longitude of the venue location in degrees.
Definition at line 38 of file InlineQueryResultVenue.h.
std::int32_t TgBot::InlineQueryResultVenue::thumbHeight |
Optinal. Thumbnail height.
Definition at line 90 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::thumbUrl |
Optional. Url of the thumbnail for the result.
Definition at line 80 of file InlineQueryResultVenue.h.
std::int32_t TgBot::InlineQueryResultVenue::thumbWidth |
Optional. Thumbnail width.
Definition at line 85 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::title |
Title of the venue.
Definition at line 43 of file InlineQueryResultVenue.h.
|
static |
Definition at line 22 of file InlineQueryResultVenue.h.