summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Api.cpp b/src/Api.cpp
index 58d5227..c8ce399 100644
--- a/src/Api.cpp
+++ b/src/Api.cpp
@@ -1801,7 +1801,7 @@ Message::Ptr Api::editMessageText(const std::string& text,
args.emplace_back("disable_web_page_preview", disableWebPagePreview);
}
if (replyMarkup) {
- args.emplace_back("reply_markup", _tgTypeParser.parseGenericReply(replyMarkup));
+ args.emplace_back("reply_markup", _tgTypeParser.parseInlineKeyboardMarkup(replyMarkup));
}
boost::property_tree::ptree p = sendRequest("editMessageText", args);