MadelineProtoDocs/old_docs/API_docs_v102/constructors/channelAdminLogEventActionDefaultBannedRights.md

40 lines
1.2 KiB
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: channelAdminLogEventActionDefaultBannedRights
2019-12-27 17:48:04 +01:00
description: The default banned rights were modified
2019-06-24 15:45:02 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionDefaultBannedRights
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
The default banned rights were modified
2019-06-24 15:45:02 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|prev\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|Previous global [banned rights](https://core.telegram.org/api/rights)|
|new\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|New glboal [banned rights](https://core.telegram.org/api/rights).|
2019-06-24 15:45:02 +02:00
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionDefaultBannedRights = ['_' => 'channelAdminLogEventActionDefaultBannedRights', 'prev_banned_rights' => ChatBannedRights, 'new_banned_rights' => ChatBannedRights];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionDefaultBannedRights={_='channelAdminLogEventActionDefaultBannedRights', prev_banned_rights=ChatBannedRights, new_banned_rights=ChatBannedRights}
```