FoxoChat.js Packages
    Preparing search index...

    Class User

    API User model.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    avatar: null | Avatar

    The avatar of the user.

    banner: null | Avatar

    The banner of the user.

    bio: string

    The bio of the user.

    client: Client

    The client that instantiated this Model.

    createdAt: Date

    The time when user created at.

    displayName: string

    The display name of the user.

    flags: UserFlags

    The flags of the user.

    id: number

    The id of the model.

    status: UserStatus

    The status of the user.

    statusUpdatedAt: Date

    The timestamp when the user's status was last updated.

    type: UserType

    The type of the user.

    username: string

    The username of the user.

    Methods