Type Alias CreatedCollection

CreatedCollection: {
    description: string;
    id: Snowflake;
    private: boolean;
    title: string;
    token?: Token | null;
    unlisted: boolean;
    url: Url;
}

Represents a created collection.

Type declaration

  • description: string

    The description of the collection.

  • id: Snowflake

    The ID of the created collection.

  • private: boolean

    If true, the created collection is private. Private collections require a token to upload to.

  • title: string

    The title of the created collection.

  • Optionaltoken?: Token | null

    The token which can be used when uploading images to the created collection. This is only returned if the created collection is private.

  • unlisted: boolean

    If true, the created collection is unlisted.

  • url: Url

    The created collection's url.