messages.editChatParticipantRank

Edit a group participant's tag ».

 Method schema is available as of layer 223. Switch »

Parameters

Name Type Description
peer InputPeer The basic group/supergroup.
participant InputPeer The participant.
rank string The new tag.

Result

Updates

Both users and bots can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

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.