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];

PWRTelegram json-encoded version:

{"_": "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}