setChatMemberTag
Change the tag of a chat member.
Parameters
The identifier of a chat.
The identifier of the user that is a member of the chat.
tag?: string
The member’s new tag. If not set, the member tag will be removed.
Result
void
Syntax
// Required parameters only.
await client.setChatMemberTag(chatId, userId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setChatMemberTag(chatId, userId, { tag });