Type alias UserPayload

UserPayload: {
    avatar?: string;
    banner?: string;
    createdAt: string;
    id: string;
    name: string;
    status?: UserStatusPayload;
    type?: "bot" | "user";
}

Type declaration

  • Optional avatar?: string

    The avatar image associated with the user

  • Optional banner?: string

    The banner image associated with the user

  • createdAt: string

    The ISO 8601 timestamp that the user was created at

  • id: string

    The ID of the user

  • name: string

    The user's name

  • Optional status?: UserStatusPayload
  • Optional type?: "bot" | "user"

    The type of user. If this property is absent, it can assumed to be of type user

Generated using TypeDoc