Type Alias CollectionMeta

CollectionMeta: {
    creationTime: number;
    creationTimeDate: Date;
    description: string;
    fileViews: number;
    files: FileCollectionMeta[];
    id: Snowflake;
    public: boolean;
    title: string;
    unlisted: boolean;
    views: number;
}

A collections meta information.

Type declaration

  • creationTime: number

    The unix timestamp of when this collection was created.

  • creationTimeDate: Date

    The date of when this collection was created.

  • description: string

    The collection's description.

  • fileViews: number

    The total amount of views the files in this collection have.

  • files: FileCollectionMeta[]

    An array of files that belong to this collection.

  • id: Snowflake

    The collection's ID.

  • public: boolean

    If true, this collection is public.

  • title: string

    The collection's title.

  • unlisted: boolean

    If true, this collection is unlisted.

  • views: number

    The collection's view count.