From c244af24f4df36f7e3220d24f751c31bcf66fa65 Mon Sep 17 00:00:00 2001 From: Kirill Danilchuk Date: Wed, 14 Jul 2021 22:35:01 +0300 Subject: Added declare sendMessage --- include/tgbot/Api.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/tgbot/Api.h') 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(), 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(), const std::string& parseMode = "", bool disableNotification = false) const; /** * @brief Use this method to forward messages of any kind. -- cgit v1.2.3