summaryrefslogtreecommitdiff
path: root/include/tgbot/Api.h
diff options
context:
space:
mode:
authorKirill Danilchuk <kirill.danilchuk01@gmail.com>2021-07-14 22:35:01 +0300
committerKirill Danilchuk <kirill.danilchuk01@gmail.com>2021-07-14 22:35:01 +0300
commitc244af24f4df36f7e3220d24f751c31bcf66fa65 (patch)
tree20fbe91c990cec0197d8322e0603841af7b627bc /include/tgbot/Api.h
parent143de34d699a6edf09ed9cc42931e932e0c914ef (diff)
Added declare sendMessage
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r--include/tgbot/Api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h
index 1adbbe5..782fb53 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -67,6 +67,9 @@ public:
*/
Message::Ptr sendMessage(std::int64_t chatId, const std::string& text, bool disableWebPagePreview = false, std::int32_t replyToMessageId = 0,
GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>(), const std::string& parseMode = "", bool disableNotification = false) const;
+
+ Message::Ptr sendMessage(const std::string& chatId, const std::string& text, bool disableWebPagePreview = false, std::int32_t replyToMessageId = 0,
+ GenericReply::Ptr replyMarkup = std::make_shared<GenericReply>(), const std::string& parseMode = "", bool disableNotification = false) const;
/**
* @brief Use this method to forward messages of any kind.