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

#include "InlineQuery.h"

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

Public Member Functions

 InlineQuery (std::string id, User from, std::string query, std::string offset)
 
 InlineQuery (const InlineQuery &InlineQuery)
 
void setLocation (const std::optional< Location > &location)
 
const std::string & getId () const
 
const UsergetFrom () const
 
const std::optional< Location > & getLocation () const
 
const std::string & getQuery () const
 
const std::string & getOffset () const
 

Private Attributes

std::string id
 
User from
 
std::optional< Locationlocation
 
std::string query
 
std::string offset
 

Detailed Description

Definition at line 14 of file InlineQuery.h.

Constructor & Destructor Documentation

◆ InlineQuery() [1/2]

InlineQuery::InlineQuery ( std::string  id,
User  from,
std::string  query,
std::string  offset 
)

Definition at line 13 of file InlineQuery.cc.

◆ InlineQuery() [2/2]

InlineQuery::InlineQuery ( const InlineQuery InlineQuery)

Definition at line 19 of file InlineQuery.cc.

Member Function Documentation

◆ getFrom()

const User & InlineQuery::getFrom ( ) const

Definition at line 42 of file InlineQuery.cc.

◆ getId()

const string & InlineQuery::getId ( ) const

Definition at line 38 of file InlineQuery.cc.

◆ getLocation()

const optional< Location > & InlineQuery::getLocation ( ) const

Definition at line 46 of file InlineQuery.cc.

◆ getOffset()

const string & InlineQuery::getOffset ( ) const

Definition at line 54 of file InlineQuery.cc.

◆ getQuery()

const string & InlineQuery::getQuery ( ) const

Definition at line 50 of file InlineQuery.cc.

◆ setLocation()

void InlineQuery::setLocation ( const std::optional< Location > &  location)

Definition at line 30 of file InlineQuery.cc.

Member Data Documentation

◆ from

User yatbcpp::InlineQuery::from
private

Definition at line 35 of file InlineQuery.h.

◆ id

std::string yatbcpp::InlineQuery::id
private

Definition at line 34 of file InlineQuery.h.

◆ location

std::optional<Location> yatbcpp::InlineQuery::location
private

Definition at line 36 of file InlineQuery.h.

◆ offset

std::string yatbcpp::InlineQuery::offset
private

Definition at line 38 of file InlineQuery.h.

◆ query

std::string yatbcpp::InlineQuery::query
private

Definition at line 37 of file InlineQuery.h.


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