#include "answerInlineQuery.h"
Definition at line 12 of file answerInlineQuery.h.
◆ answerInlineQuery() [1/2]
yatbcpp::answerInlineQuery::answerInlineQuery |
( |
std::string |
inline_query_id, |
|
|
std::vector< std::shared_ptr< InlineQueryResult >> |
results |
|
) |
| |
◆ answerInlineQuery() [2/2]
yatbcpp::answerInlineQuery::answerInlineQuery |
( |
std::string |
inline_query_id | ) |
|
◆ addInlineQueryResult()
void answerInlineQuery::addInlineQueryResult |
( |
std::shared_ptr< InlineQueryResult > |
IQR | ) |
|
Adds an Inline Query Result to the Results, however only 50 can be handled? todo maybe separate or add page support?, todo maybe add pass by reference instead of by ptr? current state is a smart ptr
- Parameters
-
Definition at line 56 of file answerInlineQuery.cc.
◆ getCache_time()
const optional< std::int32_t > & answerInlineQuery::getCache_time |
( |
| ) |
const |
◆ getFunctionname()
const std::string& yatbcpp::telegram_simplemethodJSON::getFunctionname |
( |
| ) |
const |
|
inlineinherited |
◆ getInline_query_id()
const string & answerInlineQuery::getInline_query_id |
( |
| ) |
const |
◆ getIs_personal()
const optional< bool > & answerInlineQuery::getIs_personal |
( |
| ) |
const |
◆ getNext_offset()
const optional< string > & answerInlineQuery::getNext_offset |
( |
| ) |
const |
◆ getSwitch_pm_parameter()
const optional< string > & answerInlineQuery::getSwitch_pm_parameter |
( |
| ) |
const |
◆ getSwitch_pm_text()
const optional< string > & answerInlineQuery::getSwitch_pm_text |
( |
| ) |
const |
◆ perform_simplerequestJSON()
◆ setCache_time()
void answerInlineQuery::setCache_time |
( |
const std::optional< std::int32_t > & |
cache_time | ) |
|
◆ setIs_personal()
void answerInlineQuery::setIs_personal |
( |
const std::optional< bool > & |
is_personal | ) |
|
◆ setNext_offset()
void answerInlineQuery::setNext_offset |
( |
const std::optional< std::string > & |
next_offset | ) |
|
◆ setSwitch_pm_parameter()
void answerInlineQuery::setSwitch_pm_parameter |
( |
const std::optional< std::string > & |
switch_pm_parameter | ) |
|
◆ setSwitch_pm_text()
void answerInlineQuery::setSwitch_pm_text |
( |
const std::optional< std::string > & |
switch_pm_text | ) |
|
◆ toJson()
Json::Value answerInlineQuery::toJson |
( |
| ) |
|
|
virtual |
◆ WriteCallback()
static size_t yatbcpp::telegram_simplemethodJSON::WriteCallback |
( |
void * |
contents, |
|
|
size_t |
size, |
|
|
size_t |
nmemb, |
|
|
void * |
stringptr |
|
) |
| |
|
inlinestaticinherited |
◆ cache_time
std::optional<std::int32_t> yatbcpp::answerInlineQuery::cache_time |
|
private |
◆ functionname
std::string yatbcpp::telegram_simplemethodJSON::functionname |
|
protectedinherited |
◆ inline_query_id
std::string yatbcpp::answerInlineQuery::inline_query_id |
|
private |
◆ is_personal
std::optional<bool> yatbcpp::answerInlineQuery::is_personal |
|
private |
◆ next_offset
std::optional<std::string> yatbcpp::answerInlineQuery::next_offset |
|
private |
◆ results
◆ switch_pm_parameter
std::optional<std::string> yatbcpp::answerInlineQuery::switch_pm_parameter |
|
private |
◆ switch_pm_text
std::optional<std::string> yatbcpp::answerInlineQuery::switch_pm_text |
|
private |
The documentation for this class was generated from the following files: