Interface ChatEventUsernameChanged

The chat editable username was changed. Subtype of ChatEventAction.

interface ChatEventUsernameChanged {
    @type: "chatEventUsernameChanged";
    new_username: string;
    old_username: string;
}

Properties

@type: "chatEventUsernameChanged"
new_username: string

New chat username.

old_username: string

Previous chat username.