Skip to content

Function: gifMediaUrl() ​

ts
function gifMediaUrl(gif, origins?): string | null;

Defined in: gifs.ts:156

Where to fetch a GIF from, or null when its provider's host is not known.

Parameters ​

ParameterType
gifPick<GifReference, "provider" | "path" | "instance">
origins?GifOrigins

Returns ​

string | null

Released under the GNU Affero General Public License v3.0.