summaryrefslogtreecommitdiff
path: root/src/TgTypeParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/TgTypeParser.cpp')
-rw-r--r--src/TgTypeParser.cpp2
1 files changed, 2 insertions, 0 deletions
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 += '}';