MadelineProtoDocs/old_docs/API_docs_v104/constructors/channelAdminLogEventActionParticipantToggleAdmin.md
2019-08-15 20:25:16 +02:00

1.1 KiB

title description image
channelAdminLogEventActionParticipantToggleAdmin Admin toggled https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionParticipantToggleAdmin

Back to constructors index

Admin toggled

Attributes:

Name Type Required Description
prev_participant ChannelParticipant Yes Prev participant
new_participant ChannelParticipant Yes New participant

Type: ChannelAdminLogEventAction

Example:

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

Or, if you're into Lua:

channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}