987 B
987 B
title | description | image |
---|---|---|
updateChatDefaultBannedRights | Global chat rights updated | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateChatDefaultBannedRights
Global chat rights updated
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | Peer | Yes | Peer |
default_banned_rights | ChatBannedRights | Yes | Global chat rights |
version | int | Yes | Version |
Type: Update
Example:
$updateChatDefaultBannedRights = ['_' => 'updateChatDefaultBannedRights', 'peer' => Peer, 'default_banned_rights' => ChatBannedRights, 'version' => int];
Or, if you're into Lua:
updateChatDefaultBannedRights={_='updateChatDefaultBannedRights', peer=Peer, default_banned_rights=ChatBannedRights, version=int}