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