updateChatParticipantRank #

The tag » of a participant of a basic group » has changed.

Layer 223

updateChatParticipantRank#bd8367b9 chat_id:long user_id:long rank:string version:int = Update;

Parameters #

NameTypeDescription
chat_idlongBasic group ID.
user_idlongUser ID.
rankstringThe new tag.
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.

Group participant tags #

Members in group chats (both basic groups and supergroups) can add a tag next to their name — to show their role at work, what they study in school, and more.

Channels, supergroups, gigagroups and basic groups #

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