updateChatParticipantAdmin #

Admin permissions of a user in a basic group were changed

Layer 223

updateChatParticipantAdmin#d7ca61a2 chat_id:long user_id:long is_admin:Bool version:int = Update;

Parameters #

NameTypeDescription
chat_idlongChat ID
user_idlongID of the (de)admined user
is_adminBoolWhether the user was rendered admin
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.