API User DTO.

interface APIUser {
    avatar: string;
    channels?: number[];
    created_at: number;
    display_name: string;
    email?: string;
    flags: UserFlags;
    id: number;
    type: UserType;
    username: string;
}

Properties

avatar: string

The avatar of the user.

channels?: number[]

The channels of the user.

created_at: number

The time when user created at.

display_name: string

The display name of the user.

email?: string

The email of the user.

flags: UserFlags

The flags of the user.

id: number

The id of the user.

type: UserType

The type of the user.

username: string

The username of the user.