MadelineProtoDocs/old_docs/API_docs_v102/constructors/updateChatDefaultBannedRights.md
2019-06-24 15:45:02 +02:00

987 B

title description image
updateChatDefaultBannedRights Global chat rights updated https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatDefaultBannedRights

Back to constructors index

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}