MadelineProtoDocs/docs/API_docs/constructors/channelAdminLogEventActionDefaultBannedRights.md

1.1 KiB

title description image
channelAdminLogEventActionDefaultBannedRights Changed global chat rights https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionDefaultBannedRights

Back to constructors index

Changed global chat rights

Attributes:

Name Type Required Description
prev_banned_rights ChatBannedRights Yes Previous Banned rights of current user
new_banned_rights ChatBannedRights Yes New Banned rights of current user

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}