updateChatDefaultBannedRights #

Default banned rights in a basic group were updated

Layer 223

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

Parameters #

NameTypeDescription
peerPeerThe chat
default_banned_rightsChatBannedRightsNew default banned rights
versionintUsed similarly to pts values to deduplicate/update outdated chat information as specified here ».

Type #

Update

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.