From 871cbcfeeced6a671df4e472638d2393f5b4251b Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 5 Mar 2021 23:48:13 +0300 Subject: [PATCH] Update TDLib and improve field names. --- td | 2 +- telegram-bot-api/Client.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/td b/td index b88f5ba..29ded98 160000 --- a/td +++ b/td @@ -1 +1 @@ -Subproject commit b88f5ba6f30aa7aadbaf54c5fa01b65aba8bc1bd +Subproject commit 29ded98a46cf98e77de1d725ed33e28f76c0a23d diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 28a7b77..d0e3482 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -1800,7 +1800,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const { break; case td_api::messageChatSetTtl::ID: { auto content = static_cast(message_->content.get()); - object("message_auto_delete_time_changed", JsonChatSetTtl(content)); + object("message_auto_delete_timer_changed", JsonChatSetTtl(content)); break; } case td_api::messageUnsupported::ID: @@ -1850,7 +1850,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const { } case td_api::messageInviteVoiceChatParticipants::ID: { auto content = static_cast(message_->content.get()); - object("voice_chat_members_invited", JsonInviteVoiceChatParticipants(content, client_)); + object("voice_chat_participants_invited", JsonInviteVoiceChatParticipants(content, client_)); break; } default: