2
0
mirror of https://github.com/tdlib/telegram-bot-api synced 2025-08-31 06:15:26 +00:00

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

Submodule td updated: b88f5ba6f3...29ded98a46

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: