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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.