MadelineProtoDocs/old_docs/API_docs_v81/constructors/channelAdminLogEventActionP...

1.3 KiB

title description image
channelAdminLogEventActionParticipantToggleBan channelAdminLogEventActionParticipantToggleBan attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionParticipantToggleBan

Back to constructors index

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}