Skip to main content

stickerPackBannerUrl

@discordeno/botDocs


Documentation / @discordeno/bot / stickerPackBannerUrl

Function: stickerPackBannerUrl()

stickerPackBannerUrl(bannerAssetId, options?): string | undefined

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

Parameters

bannerAssetId: undefined | BigString

The ID of the banner asset for the sticker pack.

options?

The parameters for the building of the URL.

options.format?: ImageFormat

options.size?: ImageSize

Returns

string | undefined

The link to the resource or undefined.

Defined in

packages/utils/dist/types/images.d.ts:162