MadelineProtoDocs/docs/API_docs/constructors/channelAdminLogEventActionDefaultBannedRights.md
2019-12-27 17:48:04 +01: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}