From 51ed1245a0b492c76c77b754f76234c79fba6c65 Mon Sep 17 00:00:00 2001 From: paulusel Date: Mon, 25 Mar 2024 18:15:30 +0000 Subject: Fix keyboard markup type in exditmessagetext --- include/tgbot/Api.h | 2 +- src/Api.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index 6bd24e4..b7a541a 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -1473,7 +1473,7 @@ public: const std::string& inlineMessageId = "", const std::string& parseMode = "", bool disableWebPagePreview = false, - GenericReply::Ptr replyMarkup = nullptr, + InlineKeyboardMarkup::Ptr replyMarkup = nullptr, const std::vector& entities = std::vector()) const; /** diff --git a/src/Api.cpp b/src/Api.cpp index f3f8124..58d5227 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -1776,7 +1776,7 @@ Message::Ptr Api::editMessageText(const std::string& text, const std::string& inlineMessageId, const std::string& parseMode, bool disableWebPagePreview, - GenericReply::Ptr replyMarkup, + InlineKeyboardMarkup::Ptr replyMarkup, const std::vector& entities) const { std::vector args; args.reserve(8); -- cgit v1.2.3