Link Search Menu Expand Document

Constructor: updateChatDefaultBannedRights

Back to constructors index

Default banned rights in a normal chat were updated

Attributes:

NameTypeRequiredDescription
peerlongYesThe chat
default_banned_rightsChatBannedRightsYesNew default banned rights
versionintYesVersion

Type: Update

Example:

$updateChatDefaultBannedRights = ['_' => 'updateChatDefaultBannedRights', 'peer' => long, 'default_banned_rights' => ChatBannedRights, 'version' => int];