function dumpThumbnailUrl
dumpThumbnailUrl(
token?: string | null
): string

Returns the URL of the thumbnail of dump, with the media token as for dumpFileUrl. The server answers with the custom thumbnail if the dump has one, or else with one made from the file, a video still or a scaled-down image.

Parameters

optional
token: string | null

Return Type

string

Usage

import { dumpThumbnailUrl } from "src/utils/shared/urls.ts";