From 6c2dc4d2eb84e7ba98f73332ccf95ffa5a7adf3f Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 27 Jul 2018 16:03:48 +0900 Subject: Bot API 4.0 - Part 1 --- src/TgTypeParser.cpp | 65 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 26 deletions(-) (limited to 'src/TgTypeParser.cpp') diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index dbfb266..5a01aa6 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -153,6 +153,7 @@ Message::Ptr TgTypeParser::parseJsonAndGetMessage(const ptree& data) const { result->captionEntities = parseJsonAndGetArray(&TgTypeParser::parseJsonAndGetMessageEntity, data, "caption_entities"); result->audio = tryParseJson