MadelineProtoDocs/docs/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.md
2018-04-01 13:24:46 +02:00

1.2 KiB

title description
channelAdminLogEventActionParticipantToggleAdmin channelAdminLogEventActionParticipantToggleAdmin attributes, type and example

Constructor: channelAdminLogEventActionParticipantToggleAdmin

Back to constructors index

Attributes:

Name Type Required
prev_participant ChannelParticipant Yes
new_participant ChannelParticipant Yes

Type: ChannelAdminLogEventAction

Example:

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

PWRTelegram json-encoded version:

{"_": "channelAdminLogEventActionParticipantToggleAdmin", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant}

Or, if you're into Lua:

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