tgbot-cpp
|
Represents a 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. | |
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 |
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.
typedef std::shared_ptr<InlineQueryResultVenue> TgBot::InlineQueryResultVenue::Ptr |
Definition at line 26 of file InlineQueryResultVenue.h.
|
inline |
Definition at line 28 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::address |
Address of the venue.
Definition at line 50 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::foursquareId |
Optional. Foursquare identifier of the venue if known.
Definition at line 55 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 62 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 67 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::googlePlaceType |
Optional. Google Places type of the venue.
(See supported types.)
Definition at line 74 of file InlineQueryResultVenue.h.
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.
float TgBot::InlineQueryResultVenue::latitude |
Latitude of the venue location in degrees.
Definition at line 35 of file InlineQueryResultVenue.h.
float TgBot::InlineQueryResultVenue::longitude |
Longitude of the venue location in degrees.
Definition at line 40 of file InlineQueryResultVenue.h.
std::int32_t TgBot::InlineQueryResultVenue::thumbnailHeight |
Optional. Thumbnail height.
Definition at line 94 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::thumbnailUrl |
Optional. Url of the thumbnail for the result.
Definition at line 84 of file InlineQueryResultVenue.h.
std::int32_t TgBot::InlineQueryResultVenue::thumbnailWidth |
Optional. Thumbnail width.
Definition at line 89 of file InlineQueryResultVenue.h.
std::string TgBot::InlineQueryResultVenue::title |
Title of the venue.
Definition at line 45 of file InlineQueryResultVenue.h.
|
static |
Definition at line 24 of file InlineQueryResultVenue.h.