Machine-readable version of this page: //core.telegram.org/method/messages.editChatParticipantRank.md.

messages.editChatParticipantRank

Edit a group participant's tag ».

 Схема метода доступна починаючи з шару 223. Перейти »

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.