MadelineProtoDocs/old_docs/API_docs_v97/constructors/channelAdminLogEventActionDefaultBannedRights.md
2019-05-03 21:10:09 +02:00

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}