From ae758af7e7e4257f33040fea82529aca4c92fe05 Mon Sep 17 00:00:00 2001 From: nitanmarcel Date: Tue, 19 Nov 2019 22:05:08 +0200 Subject: API V4.3 fix --- src/TgTypeParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TgTypeParser.cpp') diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index 02fed47..5206286 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -229,7 +229,7 @@ string TgTypeParser::parseMessage(const Message::Ptr& object) const { appendToJson(result, "connected_website", object->connectedWebsite); appendToJson(result, "invoice", parseInvoice(object->invoice)); appendToJson(result, "successful_payment", parseSuccessfulPayment(object->successfulPayment)); - appendToJson(result, "reply_markup", parseReplyKeyboardMarkup(object->replyMarkup)); + appendToJson(result, "reply_markup", parseInlineKeyboardMarkup(object->replyMarkup)); removeLastComma(result); result += '}'; return result; -- cgit v1.2.3