channelAdminLogEventActionParticipantToggleBan

The banned rights of a user were changed

Constructor schema is available as of layer 68. Switch ยป

Parameters

Name Type Description
prev_participant ChannelParticipant Old banned rights of user
new_participant ChannelParticipant New banned rights of user

Type

ChannelAdminLogEventAction

Related pages

Admin, banned, default rights

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