mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 22:59:37 +01:00
1.2 KiB
1.2 KiB
title | description |
---|---|
channelAdminLogEventActionParticipantToggleBan | channelAdminLogEventActionParticipantToggleBan attributes, type and example |
Constructor: channelAdminLogEventActionParticipantToggleBan
Attributes:
Name | Type | Required |
---|---|---|
prev_participant | ChannelParticipant | Yes |
new_participant | ChannelParticipant | Yes |
Type: ChannelAdminLogEventAction
Example:
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
PWRTelegram json-encoded version:
{"_": "channelAdminLogEventActionParticipantToggleBan", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant}
Or, if you're into Lua:
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}