summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiaodong Qi <qxd@bupt.edu.cn>2016-04-13 18:52:51 +0800
committerXiaodong Qi <qxd@bupt.edu.cn>2016-04-13 18:52:51 +0800
commit842710df60e16f4f320353af9f4862b8a1153a91 (patch)
treedc6d6365cbb287cfdd572206391db6f41c48ea2e /include
parent136ad5d2d870239204859bae2500292c2657ef78 (diff)
Fix Api.h
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 6e0e592..17d0493 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -68,7 +68,7 @@ public:
* @param parseMode Optional. Set it to "Markdown" or "HTML" if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
* @return On success, the sent message is returned.
*/
- Message::Ptr sendMessage(int64_t chatId, const std::string& text, bool disableWebPagePreview = false, int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), const string& parseMode = "") const;
+ Message::Ptr sendMessage(int64_t chatId, const std::string& text, bool disableWebPagePreview = false, int32_t replyToMessageId = 0, const GenericReply::Ptr& replyMarkup = GenericReply::Ptr(), const std::string& parseMode = "") const;
/**
* Use this method to forward messages of any kind.