mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-08-27 17:50:48 +02:00
Update TDLib and improve field names.
This commit is contained in:
parent
e128906890
commit
871cbcfeec
2
td
2
td
@ -1 +1 @@
|
||||
Subproject commit b88f5ba6f30aa7aadbaf54c5fa01b65aba8bc1bd
|
||||
Subproject commit 29ded98a46cf98e77de1d725ed33e28f76c0a23d
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user