summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tgbot/Api.h2
-rw-r--r--src/Api.cpp2
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<MessageEntity::Ptr>& entities = std::vector<MessageEntity::Ptr>()) 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<MessageEntity::Ptr>& entities) const {
std::vector<HttpReqArg> args;
args.reserve(8);