channelAdminLogEventActionParticipantToggleBan #

The banned rights of a user were changed

Layer 223

channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

Parameters #

NameTypeDescription
prev_participantChannelParticipantOld banned rights of user
new_participantChannelParticipantNew banned rights of user

Type #

ChannelAdminLogEventAction

Admin, banned, default rights #

How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.