Link Search Menu Expand Document

Constructor: channelAdminLogEventActionParticipantToggleAdmin

Back to constructors index

The admin rights of a user were changed

Attributes:

NameTypeRequiredDescription
prev_participantChannelParticipantYesPrevious admin rights
new_participantChannelParticipantYesNew admin rights

Type: ChannelAdminLogEventAction

Example:

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