diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index 6bd24e42d..b7a541a16 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -1473,7 +1473,7 @@ friend class Bot; 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 f3f812458..58d522718 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);