summaryrefslogtreecommitdiff
path: root/include/tgbot/Api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r--include/tgbot/Api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h
index 96dc683..22dbe30 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -242,7 +242,7 @@ public:
* @param isPersonal Pass True, if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query.
* @param nextOffset Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don‘t support pagination. Offset length can’t exceed 64 bytes.
*/
- void answerInlineQuery(const std::string inlineQueryId, const std::vector<InlineQueryResult::Ptr> results,
+ void answerInlineQuery(const std::string& inlineQueryId, const std::vector<InlineQueryResult::Ptr>& results,
int32_t cacheTime=300, bool isPersonal=false, const std::string& nextOffset="");
private: