applicationAssetUrl
Documentation / @discordeno/utils / applicationAssetUrl
Function: applicationAssetUrl()
applicationAssetUrl(
applicationId
,assetId
,options?
):undefined
|string
Defined in: packages/utils/src/images.ts:334
Builds the URL to an application asset stored in the Discord CDN.
Parameters
applicationId
The ID of the application to get the asset of.
assetId
The id identifying the application asset.
undefined
| BigString
options?
The parameters for the building of the URL.
format?
size?
Returns
undefined
| string
The link to the resource or undefined
.