MadelineProtoDocs/old_docs/API_docs_v95/constructors/channelAdminLogEventActionParticipantToggleBan.md

1.1 KiB

title description image
channelAdminLogEventActionParticipantToggleBan User banned https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionParticipantToggleBan

Back to constructors index

User banned

Attributes:

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

Type: ChannelAdminLogEventAction

Example:

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

Or, if you're into Lua:

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