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

Represents the content of a venue message to be sent as the result of an inline query. More...

#include <InputVenueMessageContent.h>

Inheritance diagram for TgBot::InputVenueMessageContent:
TgBot::InputMessageContent

Public Types

typedef std::shared_ptr< InputVenueMessageContentPtr
 
- Public Types inherited from TgBot::InputMessageContent
typedef std::shared_ptr< InputMessageContentPtr
 

Public Member Functions

 InputVenueMessageContent ()
 
- Public Member Functions inherited from TgBot::InputMessageContent
 InputMessageContent ()
 
virtual ~InputMessageContent ()
 

Public Attributes

float latitude
 Latitude of the location in degrees.
 
float longitude
 Longitude of the location in degrees.
 
std::string title
 Name 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)
 
- Public Attributes inherited from TgBot::InputMessageContent
std::string type
 Type of the content.
 

Static Public Attributes

static const std::string TYPE
 

Detailed Description

Represents the content of a venue message to be sent as the result of an inline query.

Definition at line 16 of file InputVenueMessageContent.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ InputVenueMessageContent()

TgBot::InputVenueMessageContent::InputVenueMessageContent ( )
inline

Definition at line 22 of file InputVenueMessageContent.h.

Member Data Documentation

◆ address

std::string TgBot::InputVenueMessageContent::address

Address of the venue.

Definition at line 44 of file InputVenueMessageContent.h.

◆ foursquareId

std::string TgBot::InputVenueMessageContent::foursquareId

Optional. Foursquare identifier of the venue, if known.

Definition at line 49 of file InputVenueMessageContent.h.

◆ foursquareType

std::string TgBot::InputVenueMessageContent::foursquareType

Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)

Definition at line 55 of file InputVenueMessageContent.h.

◆ googlePlaceId

std::string TgBot::InputVenueMessageContent::googlePlaceId

Optional. Google Places identifier of the venue.

Definition at line 60 of file InputVenueMessageContent.h.

◆ googlePlaceType

std::string TgBot::InputVenueMessageContent::googlePlaceType

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

Definition at line 66 of file InputVenueMessageContent.h.

◆ latitude

float TgBot::InputVenueMessageContent::latitude

Latitude of the location in degrees.

Definition at line 29 of file InputVenueMessageContent.h.

◆ longitude

float TgBot::InputVenueMessageContent::longitude

Longitude of the location in degrees.

Definition at line 34 of file InputVenueMessageContent.h.

◆ title

std::string TgBot::InputVenueMessageContent::title

Name of the venue.

Definition at line 39 of file InputVenueMessageContent.h.

◆ TYPE

const std::string TgBot::InputVenueMessageContent::TYPE
static

Definition at line 18 of file InputVenueMessageContent.h.


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