From 0f15affd95df70c74b8d9b29eb857146152d162e Mon Sep 17 00:00:00 2001 From: Florian Scheibner Date: Mon, 16 Nov 2015 14:56:02 +0100 Subject: Fix hide_keyboard and force_reply Messages --- src/TgTypeParser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index 141aebd..6586ec6 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -404,6 +404,7 @@ std::string TgTypeParser::parseReplyKeyboardHide(const ReplyKeyboardHide::Ptr& o } string result; result += '{'; + appendToJson(result, "hide_keyboard", object->hideKeyboard); appendToJson(result, "selective", object->selective); result.erase(result.length() - 1); result += '}'; @@ -422,6 +423,7 @@ std::string TgTypeParser::parseForceReply(const ForceReply::Ptr& object) const { } string result; result += '{'; + appendToJson(result, "force_reply", object->forceReply); appendToJson(result, "selective", object->selective); result.erase(result.length() - 1); result += '}'; -- cgit v1.2.3