summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrea Giove <andreagiove@outlook.com>2016-03-29 17:13:38 +0200
committerAndrea Giove <andreagiove@outlook.com>2016-03-29 17:13:38 +0200
commitde33e2e08049c3698920789f769b7f361414f4b0 (patch)
tree8efe115007bab8b4487600101c408a0ca2d284af /include
parentc5a4f537b4a11455d1924ae737a92a8f16b2fcd7 (diff)
Edited answerInlineQuery
Diffstat (limited to 'include')
-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 22dbe30..66f41b5 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -243,7 +243,7 @@ public:
* @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,
- int32_t cacheTime=300, bool isPersonal=false, const std::string& nextOffset="");
+ int32_t cacheTime=300, bool isPersonal=false, const std::string& nextOffset="") const;
private:
boost::property_tree::ptree sendRequest(const std::string& method, const std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) const;