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