Interface SetChatMemberTag

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. Request type for Tdjson#setChatMemberTag.

interface SetChatMemberTag {
    @type: "setChatMemberTag";
    chat_id: number;
    tag: string;
    user_id: number;
}

Properties

@type: "setChatMemberTag"
chat_id: number

Chat identifier.

tag: string

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

user_id: number

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