Method GetIconUrl
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetIconUrl(MediaFormat, ushort)
Gets guild's icon URL, in requested format and size.
public string? GetIconUrl(MediaFormat imageFormat, ushort imageSize = 1024)
Parameters
imageFormatMediaFormatThe image format of the icon to get.
imageSizeushortThe maximum size of the icon. Must be a power of two, minimum 16, maximum 4096.
Returns
- string
The URL of the guild's icon.