diff options
author | Andrea Giove <andreagiove@outlook.com> | 2016-03-29 17:13:38 +0200 |
---|---|---|
committer | Andrea Giove <andreagiove@outlook.com> | 2016-03-29 17:13:38 +0200 |
commit | de33e2e08049c3698920789f769b7f361414f4b0 (patch) | |
tree | 8efe115007bab8b4487600101c408a0ca2d284af /src | |
parent | c5a4f537b4a11455d1924ae737a92a8f16b2fcd7 (diff) |
Edited answerInlineQuery
Diffstat (limited to 'src')
-rw-r--r-- | src/Api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<InlineQueryResult::Ptr>& results, - int32_t cacheTime, bool isPersonal, const std::string& nextOffset){ + int32_t cacheTime, bool isPersonal, const std::string& nextOffset) const { vector<HttpReqArg> args; args.push_back(HttpReqArg("inline_query_id", inlineQueryId)); string resultsJson = TgTypeParser::getInstance().parseArray<InlineQueryResult>(&TgTypeParser::parseInlineQueryResult, results); |