Skip to main content

stickerPackBannerUrl

@discordeno/utils


Documentation / @discordeno/utils / stickerPackBannerUrl

Function: stickerPackBannerUrl()

stickerPackBannerUrl(bannerAssetId, options?): string | undefined

Defined in: packages/utils/src/images.ts:326

Builds the URL to a sticker pack banner stored in the Discord CDN.

Parameters

bannerAssetId

The ID of the banner asset for the sticker pack.

undefined | BigString

options?

The parameters for the building of the URL.

format

ImageFormat

size

ImageSize

Returns

string | undefined

The link to the resource or undefined.