Link Search Menu Expand Document

Constructor: channelAdminLogEventActionParticipantToggleBan

Back to constructors index

The banned rights of a user were changed

Attributes:

NameTypeRequiredDescription
prev_participantChannelParticipantYesOld banned rights of user
new_participantChannelParticipantYesNew banned rights of user

Type: ChannelAdminLogEventAction

Example:

$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];