Update TDLib and improve field names.

This commit is contained in:
levlam 2021-03-05 23:48:13 +03:00
parent e128906890
commit 871cbcfeec
2 changed files with 3 additions and 3 deletions

2
td

@ -1 +1 @@
Subproject commit b88f5ba6f30aa7aadbaf54c5fa01b65aba8bc1bd
Subproject commit 29ded98a46cf98e77de1d725ed33e28f76c0a23d

View File

@ -1800,7 +1800,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const {
break;
case td_api::messageChatSetTtl::ID: {
auto content = static_cast<const td_api::messageChatSetTtl *>(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<const td_api::messageInviteVoiceChatParticipants *>(message_->content.get());
object("voice_chat_members_invited", JsonInviteVoiceChatParticipants(content, client_));
object("voice_chat_participants_invited", JsonInviteVoiceChatParticipants(content, client_));
break;
}
default: