updateChatDefaultBannedRights

Default banned rights in a basic group were updated

updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update;

Parameters

Name Type Description
peer Peer The chat
default_banned_rights ChatBannedRights New default banned rights
version int Used similarly to pts values to deduplicate/update outdated chat information as specified here ยป.

Type

Update

Related pages

Peer database

Many constructors in the API need to be stored in a local database upon reception and should only ever be updated reactively (passively) when received via updates or by other means (as specified in the documentation), to avoid overloading the server by continuously requesting changes for the same unchanged information.

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.