yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
Public Member Functions | Private Attributes | List of all members
yatbcpp::Venue Class Reference

#include "Venue.h"

Collaboration diagram for yatbcpp::Venue:
Collaboration graph
[legend]

Public Member Functions

 Venue (Location location, std::string title, std::string address)
 
 Venue (const Venue &Venue)
 
void setFoursquare_id (const std::optional< std::string > &foursquare_id)
 
const LocationgetLocation () const
 
const std::string & getTitle () const
 
const std::string & getAddress () const
 
const std::optional< std::string > & getFoursquare_id () const
 

Private Attributes

Location location
 
std::string title
 
std::string address
 
std::optional< std::string > foursquare_id
 

Detailed Description

See also https://core.telegram.org/bots/api#venue

Definition at line 14 of file Venue.h.

Constructor & Destructor Documentation

◆ Venue() [1/2]

Venue::Venue ( Location  location,
std::string  title,
std::string  address 
)

Definition at line 12 of file Venue.cc.

◆ Venue() [2/2]

Venue::Venue ( const Venue Venue)

Definition at line 18 of file Venue.cc.

Member Function Documentation

◆ getAddress()

const string & Venue::getAddress ( ) const

Definition at line 45 of file Venue.cc.

◆ getFoursquare_id()

const optional< string > & Venue::getFoursquare_id ( ) const

Definition at line 49 of file Venue.cc.

◆ getLocation()

const Location & Venue::getLocation ( ) const

Definition at line 37 of file Venue.cc.

◆ getTitle()

const string & Venue::getTitle ( ) const

Definition at line 41 of file Venue.cc.

◆ setFoursquare_id()

void Venue::setFoursquare_id ( const std::optional< std::string > &  foursquare_id)

Definition at line 29 of file Venue.cc.

Member Data Documentation

◆ address

std::string yatbcpp::Venue::address
private

Definition at line 35 of file Venue.h.

◆ foursquare_id

std::optional<std::string> yatbcpp::Venue::foursquare_id
private

Definition at line 36 of file Venue.h.

◆ location

Location yatbcpp::Venue::location
private

Definition at line 33 of file Venue.h.

◆ title

std::string yatbcpp::Venue::title
private

Definition at line 34 of file Venue.h.


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