Skip to content

setChatMemberTag

Function · TDLib 1.8.67 · d1085f9c

Changes the tag or custom title of a chat member; requires can_manage_tags administrator right to change tag of other users; for basic groups and supergroups only

setChatMemberTag(
  chat_id: int53,
  user_id: int53,
  tag: string
) → Ok

chat_id

int53

Chat identifier

user_id

int53

Identifier of the user whose tag is changed. Chats can't have member tags

tag

string

The new tag of the member in the chat; 0-16 characters without emoji