MadelineProtoDocs/old_docs/API_docs_v41/constructors/channelAdminLogEventActionDefaultBannedRights.md
2020-06-16 17:50:25 +02:00

1.2 KiB

title description image
channelAdminLogEventActionDefaultBannedRights The default banned rights were modified https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionDefaultBannedRights

Back to constructors index

The default banned rights were modified

Attributes:

Name Type Required Description
prev_banned_rights ChatBannedRights Yes Previous global banned rights
new_banned_rights ChatBannedRights Yes New glboal banned rights.

Type: ChannelAdminLogEventAction

Example:

$channelAdminLogEventActionDefaultBannedRights = ['_' => 'channelAdminLogEventActionDefaultBannedRights', 'prev_banned_rights' => ChatBannedRights, 'new_banned_rights' => ChatBannedRights];

Or, if you're into Lua:

channelAdminLogEventActionDefaultBannedRights={_='channelAdminLogEventActionDefaultBannedRights', prev_banned_rights=ChatBannedRights, new_banned_rights=ChatBannedRights}