2019-03-08 13:49:23 +01:00
|
|
|
---
|
|
|
|
title: updateChatDefaultBannedRights
|
2019-03-08 14:35:09 +01:00
|
|
|
description: Global chat rights updated
|
2019-03-08 13:49:23 +01:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: updateChatDefaultBannedRights
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-08 14:35:09 +01:00
|
|
|
Global chat rights updated
|
|
|
|
|
2019-03-08 13:49:23 +01:00
|
|
|
### Attributes:
|
|
|
|
|
2019-03-08 14:35:09 +01:00
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|peer|[Peer](../types/Peer.md) | Yes|Peer|
|
|
|
|
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|Global chat rights|
|
|
|
|
|version|[int](../types/int.md) | Yes|Version|
|
2019-03-08 13:49:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$updateChatDefaultBannedRights = ['_' => 'updateChatDefaultBannedRights', 'peer' => Peer, 'default_banned_rights' => ChatBannedRights, 'version' => int];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
updateChatDefaultBannedRights={_='updateChatDefaultBannedRights', peer=Peer, default_banned_rights=ChatBannedRights, version=int}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|