Skip to main content

stickerPackBannerUrl

Documentation


Documentation / @discordeno/utils / stickerPackBannerUrl

Function: stickerPackBannerUrl()

stickerPackBannerUrl(bannerAssetId, options?): undefined | string

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.

undefined | BigString

options?

The parameters for the building of the URL.

format?

ImageFormat

size?

ImageSize

Returns

undefined | string

The link to the resource or undefined.