diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 945851f63..1de3b972e 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -2621,8 +2621,8 @@ chatEventInviteLinkDeleted invite_link:chatInviteLink = ChatEventAction; //@description A video chat was created @group_call_id Identifier of the video chat. The video chat can be received through the method getGroupCall chatEventVideoChatCreated group_call_id:int32 = ChatEventAction; -//@description A video chat was discarded @group_call_id Identifier of the video chat. The video chat can be received through the method getGroupCall -chatEventVideoChatDiscarded group_call_id:int32 = ChatEventAction; +//@description A video chat was ended @group_call_id Identifier of the video chat. The video chat can be received through the method getGroupCall +chatEventVideoChatEnded group_call_id:int32 = ChatEventAction; //@description A video chat participant was muted or unmuted @participant_id Identifier of the affected group call participant @is_muted New value of is_muted chatEventVideoChatParticipantIsMutedToggled participant_id:MessageSender is_muted:Bool = ChatEventAction; diff --git a/td/telegram/DialogEventLog.cpp b/td/telegram/DialogEventLog.cpp index 3c89abdc2..26cf9b4cc 100644 --- a/td/telegram/DialogEventLog.cpp +++ b/td/telegram/DialogEventLog.cpp @@ -294,7 +294,7 @@ static td_api::object_ptr get_chat_event_action_object( if (!input_group_call_id.is_valid()) { return nullptr; } - return td_api::make_object( + return td_api::make_object( td->group_call_manager_->get_group_call_id(input_group_call_id, DialogId(channel_id)).get()); } case telegram_api::channelAdminLogEventActionParticipantMute::ID: {