Skip to main content

stickerPackBannerUrl

Documentation


Documentation / @discordeno/utils / stickerPackBannerUrl

Function: stickerPackBannerUrl()

stickerPackBannerUrl(bannerAssetId, options?): string | undefined

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

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.

BigString | undefined

options?

The parameters for the building of the URL.

format?

ImageFormat

size?

ImageSize

Returns

string | undefined

The link to the resource or undefined.