MadelineProtoDocs/docs/API_docs/constructors/channelAdminLogEventActionDefaultBannedRights.md
2019-03-08 13:49:23 +01:00

44 lines
1.3 KiB
Markdown

---
title: channelAdminLogEventActionDefaultBannedRights
description: channelAdminLogEventActionDefaultBannedRights attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionDefaultBannedRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|
|new\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionDefaultBannedRights = ['_' => 'channelAdminLogEventActionDefaultBannedRights', 'prev_banned_rights' => ChatBannedRights, 'new_banned_rights' => ChatBannedRights];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "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}
```