Method GetAvatarUrl
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetAvatarUrl(ImageFormat, ushort)
Gets the application's cover image URL, in requested format and size.
public string? GetAvatarUrl(ImageFormat fmt, ushort size = 1024)
Parameters
fmt
ImageFormatFormat of the image to get.
size
ushortMaximum size of the cover image. Must be a power of two, minimum 16, maximum 2048.
Returns
- string
URL of the application's cover image.