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

This object represents a venue. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<Venue>

Public Attributes

std::shared_ptr< Locationlocation { }
 Venue location. Can't be a live 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. (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.).

Detailed Description

This object represents a venue.

Definition at line 15010 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 15011 of file Types.h.

Member Data Documentation

◆ address

std::string TgBot::Venue::address { }

Address of the venue.

Definition at line 15026 of file Types.h.

◆ foursquareId

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

Optional. Foursquare identifier of the venue.

Definition at line 15031 of file Types.h.

◆ foursquareType

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

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

Definition at line 15037 of file Types.h.

◆ googlePlaceId

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

Optional. Google Places identifier of the venue.

Definition at line 15042 of file Types.h.

◆ googlePlaceType

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

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

Definition at line 15047 of file Types.h.

◆ location

std::shared_ptr<Location> TgBot::Venue::location { }

Venue location. Can't be a live location.

Definition at line 15016 of file Types.h.

◆ title

std::string TgBot::Venue::title { }

Name of the venue.

Definition at line 15021 of file Types.h.


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