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

#include "InlineQueryResult.h"

Inheritance diagram for yatbcpp::InlineQueryResult:
Inheritance graph
[legend]

Public Member Functions

 InlineQueryResult (std::string type, std::string id)
 
 InlineQueryResult (const InlineQueryResult &InlineQueryResult)
 
virtual Json::Value toJson ()
 
const std::string & getType () const
 
const std::string & getId () const
 

Protected Attributes

std::string type
 
std::string id
 

Detailed Description

Definition at line 13 of file InlineQueryResult.h.

Constructor & Destructor Documentation

◆ InlineQueryResult() [1/2]

InlineQueryResult::InlineQueryResult ( std::string  type,
std::string  id 
)

Definition at line 5 of file InlineQueryResult.cc.

◆ InlineQueryResult() [2/2]

InlineQueryResult::InlineQueryResult ( const InlineQueryResult InlineQueryResult)

Definition at line 11 of file InlineQueryResult.cc.

Member Function Documentation

◆ getId()

const std::string & InlineQueryResult::getId ( ) const

Definition at line 22 of file InlineQueryResult.cc.

◆ getType()

const std::string & InlineQueryResult::getType ( ) const

Definition at line 18 of file InlineQueryResult.cc.

◆ toJson()

virtual Json::Value yatbcpp::InlineQueryResult::toJson ( )
inlinevirtual

Member Data Documentation

◆ id

std::string yatbcpp::InlineQueryResult::id
protected

Definition at line 28 of file InlineQueryResult.h.

◆ type

std::string yatbcpp::InlineQueryResult::type
protected

Definition at line 26 of file InlineQueryResult.h.


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