Method WithThumbnail
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
WithThumbnail(string, int, int)
Sets the embed's thumbnail.
public DiscordEmbedBuilder WithThumbnail(string url, int height = 0, int width = 0)
Parameters
url
stringThumbnail url to set.
height
intThe height of the thumbnail to set.
width
intThe width of the thumbnail to set.
Returns
- DiscordEmbedBuilder
This embed builder.
WithThumbnail(Uri, int, int)
Sets the embed's thumbnail.
public DiscordEmbedBuilder WithThumbnail(Uri url, int height = 0, int width = 0)
Parameters
url
UriThumbnail url to set.
height
intThe height of the thumbnail to set.
width
intThe width of the thumbnail to set.
Returns
- DiscordEmbedBuilder
This embed builder.