Update layer 122.

This commit is contained in:
levlam 2020-12-08 02:06:20 +03:00
parent 9e0dba0db4
commit 5c832cb361
3 changed files with 11 additions and 0 deletions

View File

@ -866,6 +866,11 @@ channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEve
channelAdminLogEventActionChangeLinkedChat#a26f881b prev_value:int new_value:int = ChannelAdminLogEventAction;
channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction;
channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction;
channelAdminLogEventActionStartGroupCall#23209745 call:InputGroupCall = ChannelAdminLogEventAction;
channelAdminLogEventActionDiscardGroupCall#db9f9140 call:InputGroupCall = ChannelAdminLogEventAction;
channelAdminLogEventActionParticipantMute#f92424d2 participant:GroupCallParticipant = ChannelAdminLogEventAction;
channelAdminLogEventActionParticipantUnmute#e64429c0 participant:GroupCallParticipant = ChannelAdminLogEventAction;
channelAdminLogEventActionToggleGroupCallSetting#56d6a247 join_muted:Bool = ChannelAdminLogEventAction;
channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent;

Binary file not shown.

View File

@ -30774,6 +30774,12 @@ tl_object_ptr<td_api::ChatEventAction> MessagesManager::get_chat_event_action_ob
auto new_slow_mode_delay = clamp(action->new_value_, 0, 86400 * 366);
return make_tl_object<td_api::chatEventSlowModeDelayChanged>(old_slow_mode_delay, new_slow_mode_delay);
}
case telegram_api::channelAdminLogEventActionStartGroupCall::ID:
case telegram_api::channelAdminLogEventActionDiscardGroupCall::ID:
case telegram_api::channelAdminLogEventActionParticipantMute::ID:
case telegram_api::channelAdminLogEventActionParticipantUnmute::ID:
case telegram_api::channelAdminLogEventActionToggleGroupCallSetting::ID:
return nullptr;
default:
UNREACHABLE();
return nullptr;