From 349a54107d23ab58cff9afccad27741fa3ad8937 Mon Sep 17 00:00:00 2001 From: llnulldisk <48621230+llnulldisk@users.noreply.github.com> Date: Fri, 9 Sep 2022 16:57:08 +0200 Subject: Update to API 5.6 --- src/TgTypeParser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/TgTypeParser.cpp') diff --git a/src/TgTypeParser.cpp b/src/TgTypeParser.cpp index e8a81d7..85b44e8 100644 --- a/src/TgTypeParser.cpp +++ b/src/TgTypeParser.cpp @@ -1519,7 +1519,7 @@ ChatMemberRestricted::Ptr TgTypeParser::parseJsonAndGetChatMemberRestricted(cons result->canSendPolls = data.get("can_send_polls", false); result->canSendOtherMessages = data.get("can_send_other_messages", false); result->canAddWebPagePreviews = data.get("can_add_web_page_previews", false); - result->untilDate = data.get("until_date", 0); + result->untilDate = data.get("until_date", 0); return result; } @@ -1666,9 +1666,9 @@ ChatInviteLink::Ptr TgTypeParser::parseJsonAndGetChatInviteLink(const boost::pro result->isPrimary = data.get("is_primary", false); result->isRevoked = data.get("is_revoked", false); result->name = data.get("name", ""); - result->expireDate = data.get("expire_date", 0); - result->memberLimit = data.get("member_limit", 0); - result->pendingJoinRequestCount = data.get("pending_join_request_count", 0); + result->expireDate = data.get("expire_date", 0); + result->memberLimit = data.get("member_limit", 0); + result->pendingJoinRequestCount = data.get("pending_join_request_count", 0); return result; } -- cgit v1.2.3