diff options
author | Kirill Danilchuk <kirill.danilchuk01@gmail.com> | 2021-07-14 22:35:01 +0300 |
---|---|---|
committer | Kirill Danilchuk <kirill.danilchuk01@gmail.com> | 2021-07-14 22:35:01 +0300 |
commit | c244af24f4df36f7e3220d24f751c31bcf66fa65 (patch) | |
tree | 20fbe91c990cec0197d8322e0603841af7b627bc /include | |
parent | 143de34d699a6edf09ed9cc42931e932e0c914ef (diff) |
Added declare sendMessage
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/Api.h | 3 |
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. |