4baac3178e
Add PHP, Lua language tag to Code area
1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
channelAdminLogEventActionParticipantToggleAdmin | channelAdminLogEventActionParticipantToggleAdmin attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelAdminLogEventActionParticipantToggleAdmin
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}