summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaulusel <paulusel@proton.me>2024-03-25 18:15:30 +0000
committerpaulusel <paulusel@proton.me>2024-03-25 18:22:01 +0000
commit51ed1245a0b492c76c77b754f76234c79fba6c65 (patch)
tree285c0371b4baf8191257142134c51e92eacbfa4e
parentdd3a5a2307fb13a740133640b1dda3701f8d4006 (diff)
Fix keyboard markup type in exditmessagetext
-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);