This object represents a venue. https://core.telegram.org/bots/api#venue.
More...
#include <Venue.hpp>
|
| Venue ()=default |
|
| Venue (const nl::json &json) |
|
nl::json | toJson () const |
| Serializes this object to JSON. More...
|
|
void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. More...
|
|
This object represents a venue. https://core.telegram.org/bots/api#venue.
Definition at line 8 of file Venue.hpp.
◆ Venue() [1/2]
tgbotxx::Venue::Venue |
( |
| ) |
|
|
default |
◆ Venue() [2/2]
tgbotxx::Venue::Venue |
( |
const nl::json & |
json | ) |
|
|
inlineexplicit |
◆ fromJson()
void tgbotxx::Venue::fromJson |
( |
const nl::json & |
json | ) |
|
|
inline |
Deserializes this object from JSON.
Definition at line 52 of file Venue.hpp.
◆ toJson()
nl::json tgbotxx::Venue::toJson |
( |
| ) |
const |
|
inline |
Serializes this object to JSON.
- Returns
- JSON representation of this object
Definition at line 39 of file Venue.hpp.
◆ address
std::string tgbotxx::Venue::address |
Address of the venue.
Definition at line 21 of file Venue.hpp.
◆ foursquareId
std::string tgbotxx::Venue::foursquareId |
Optional. Foursquare identifier of the venue.
Definition at line 24 of file Venue.hpp.
◆ foursquareType
std::string tgbotxx::Venue::foursquareType |
Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Definition at line 28 of file Venue.hpp.
◆ googlePlaceId
std::string tgbotxx::Venue::googlePlaceId |
Optional. Google Places identifier of the venue.
Definition at line 31 of file Venue.hpp.
◆ googlePlaceType
std::string tgbotxx::Venue::googlePlaceType |
◆ location
Venue location. Can't be a live location.
Definition at line 15 of file Venue.hpp.
◆ title
std::string tgbotxx::Venue::title |
Name of the venue.
Definition at line 18 of file Venue.hpp.
The documentation for this struct was generated from the following file: