tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputMediaVenue Struct Reference

Represents a venue to be sent. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputMediaVenue>

Public Attributes

std::string type { TYPE }
 Type of the media, must be venue.
double latitude { }
 Latitude of the location.
double longitude { }
 Longitude of the location.
std::string title { }
 Name of the venue.
std::string address { }
 Address of the venue.
std::optional< std::string > foursquareId { }
 Optional. Foursquare identifier of the venue.
std::optional< std::string > foursquareType { }
 Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
std::optional< std::string > googlePlaceId { }
 Optional. Google Places identifier of the venue.
std::optional< std::string > googlePlaceType { }
 Optional. Google Places type of the venue. (See supported types.).

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Represents a venue to be sent.

Definition at line 6724 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::InputMediaVenue::Ptr = std::shared_ptr<InputMediaVenue>

Definition at line 6725 of file Types.h.

Member Data Documentation

◆ address

std::string TgBot::InputMediaVenue::address { }

Address of the venue.

Definition at line 6752 of file Types.h.

◆ foursquareId

std::optional<std::string> TgBot::InputMediaVenue::foursquareId { }

Optional. Foursquare identifier of the venue.

Definition at line 6757 of file Types.h.

◆ foursquareType

std::optional<std::string> TgBot::InputMediaVenue::foursquareType { }

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

Definition at line 6763 of file Types.h.

◆ googlePlaceId

std::optional<std::string> TgBot::InputMediaVenue::googlePlaceId { }

Optional. Google Places identifier of the venue.

Definition at line 6768 of file Types.h.

◆ googlePlaceType

std::optional<std::string> TgBot::InputMediaVenue::googlePlaceType { }

Optional. Google Places type of the venue. (See supported types.).

Definition at line 6773 of file Types.h.

◆ latitude

double TgBot::InputMediaVenue::latitude { }

Latitude of the location.

Definition at line 6737 of file Types.h.

◆ longitude

double TgBot::InputMediaVenue::longitude { }

Longitude of the location.

Definition at line 6742 of file Types.h.

◆ title

std::string TgBot::InputMediaVenue::title { }

Name of the venue.

Definition at line 6747 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::InputMediaVenue::TYPE
static

Definition at line 6727 of file Types.h.

◆ type

std::string TgBot::InputMediaVenue::type { TYPE }

Type of the media, must be venue.

Definition at line 6732 of file Types.h.


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