MadelineProtoDocs/docs/API_docs/constructors/updateChatDefaultBannedRights.md
2024-05-01 14:53:46 +02:00

998 B

title description nav_exclude image
updateChatDefaultBannedRights Default banned rights in a normal chat were updated true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatDefaultBannedRights

Back to constructors index

Default banned rights in a normal chat were updated

Attributes:

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

Type: Update

Example:

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