From de33e2e08049c3698920789f769b7f361414f4b0 Mon Sep 17 00:00:00 2001 From: Andrea Giove Date: Tue, 29 Mar 2016 17:13:38 +0200 Subject: Edited answerInlineQuery --- src/Api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Api.cpp') diff --git a/src/Api.cpp b/src/Api.cpp index 325978f..ed06d27 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -256,7 +256,7 @@ void Api::setWebhook(const string& url) const { } void Api::answerInlineQuery(const std::string& inlineQueryId, const std::vector& results, - int32_t cacheTime, bool isPersonal, const std::string& nextOffset){ + int32_t cacheTime, bool isPersonal, const std::string& nextOffset) const { vector args; args.push_back(HttpReqArg("inline_query_id", inlineQueryId)); string resultsJson = TgTypeParser::getInstance().parseArray(&TgTypeParser::parseInlineQueryResult, results); -- cgit v1.2.3