Rename chat log event to chatEventVideoChatEnded.

This commit is contained in:
levlam 2021-12-23 12:42:21 +03:00
parent e71f9f6d75
commit 461b312369
2 changed files with 3 additions and 3 deletions

View File

@ -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 //@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; 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 //@description A video chat was ended @group_call_id Identifier of the video chat. The video chat can be received through the method getGroupCall
chatEventVideoChatDiscarded group_call_id:int32 = ChatEventAction; 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 //@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; chatEventVideoChatParticipantIsMutedToggled participant_id:MessageSender is_muted:Bool = ChatEventAction;

View File

@ -294,7 +294,7 @@ static td_api::object_ptr<td_api::ChatEventAction> get_chat_event_action_object(
if (!input_group_call_id.is_valid()) { if (!input_group_call_id.is_valid()) {
return nullptr; return nullptr;
} }
return td_api::make_object<td_api::chatEventVideoChatDiscarded>( return td_api::make_object<td_api::chatEventVideoChatEnded>(
td->group_call_manager_->get_group_call_id(input_group_call_id, DialogId(channel_id)).get()); td->group_call_manager_->get_group_call_id(input_group_call_id, DialogId(channel_id)).get());
} }
case telegram_api::channelAdminLogEventActionParticipantMute::ID: { case telegram_api::channelAdminLogEventActionParticipantMute::ID: {