Interface UsernameChange

API.getEvents

interface UsernameChange {
    created_at: Date;
    id: number;
    type: "usernameChange";
    user: {
        previousUsername: string;
        url: string;
        username: string;
    };
}

Hierarchy (view full)

Properties

Properties

created_at: Date
id: number
type
user: {
    previousUsername: string;
    url: string;
    username: string;
}

Type declaration

  • previousUsername: string
  • url: string

    What goes after the website's URL, so for example, it could be the /u/7276846 of https://osu.ppy.sh/u/7276846 (or users instead of u)

  • username: string