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

#include "InlineQueryResultCachedVoice.h"

Inheritance diagram for yatbcpp::InlineQueryResultCachedVoice:
Inheritance graph
[legend]
Collaboration diagram for yatbcpp::InlineQueryResultCachedVoice:
Collaboration graph
[legend]

Public Member Functions

 InlineQueryResultCachedVoice (std::string id, std::string audio_file_id, std::string title)
 
 InlineQueryResultCachedVoice (const InlineQueryResultCachedVoice &InlineQueryResultCachedVoice)
 
Json::Value toJson ()
 
const std::string & getVoice_file_id () const
 
const std::string & getTitle () const
 
const std::optional< std::string > & getCaption () const
 
const std::string & getType () const
 
const std::string & getId () const
 

Protected Attributes

std::string type
 
std::string id
 

Private Attributes

std::string voice_file_id
 
std::string title
 
std::optional< std::string > caption
 

Detailed Description

Definition at line 9 of file InlineQueryResultCachedVoice.h.

Constructor & Destructor Documentation

◆ InlineQueryResultCachedVoice() [1/2]

InlineQueryResultCachedVoice::InlineQueryResultCachedVoice ( std::string  id,
std::string  audio_file_id,
std::string  title 
)

Definition at line 7 of file InlineQueryResultCachedVoice.cc.

◆ InlineQueryResultCachedVoice() [2/2]

InlineQueryResultCachedVoice::InlineQueryResultCachedVoice ( const InlineQueryResultCachedVoice InlineQueryResultCachedVoice)

Definition at line 14 of file InlineQueryResultCachedVoice.cc.

Member Function Documentation

◆ getCaption()

const optional< string > & InlineQueryResultCachedVoice::getCaption ( ) const

Definition at line 53 of file InlineQueryResultCachedVoice.cc.

◆ getId()

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

Definition at line 22 of file InlineQueryResult.cc.

◆ getTitle()

const string & InlineQueryResultCachedVoice::getTitle ( ) const

Definition at line 49 of file InlineQueryResultCachedVoice.cc.

◆ getType()

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

Definition at line 18 of file InlineQueryResult.cc.

◆ getVoice_file_id()

const string & InlineQueryResultCachedVoice::getVoice_file_id ( ) const

Definition at line 45 of file InlineQueryResultCachedVoice.cc.

◆ toJson()

Json::Value InlineQueryResultCachedVoice::toJson ( )
virtual

Reimplemented from yatbcpp::InlineQueryResult.

Definition at line 22 of file InlineQueryResultCachedVoice.cc.

Here is the call graph for this function:

Member Data Documentation

◆ caption

std::optional<std::string> yatbcpp::InlineQueryResultCachedVoice::caption
private

Definition at line 27 of file InlineQueryResultCachedVoice.h.

◆ id

std::string yatbcpp::InlineQueryResult::id
protectedinherited

Definition at line 28 of file InlineQueryResult.h.

◆ title

std::string yatbcpp::InlineQueryResultCachedVoice::title
private

Definition at line 26 of file InlineQueryResultCachedVoice.h.

◆ type

std::string yatbcpp::InlineQueryResult::type
protectedinherited

Definition at line 26 of file InlineQueryResult.h.

◆ voice_file_id

std::string yatbcpp::InlineQueryResultCachedVoice::voice_file_id
private

Definition at line 25 of file InlineQueryResultCachedVoice.h.


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