Constructor: updateChatDefaultBannedRights

Back to constructors index

Default banned rights in a normal chat were updated


Name Type Required Description
peer Peer Yes The chat
default_banned_rights ChatBannedRights Yes New default banned rights
version int Yes Version

Type: Update


$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.