Table of Contents

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 string

Thumbnail url to set.

height int

The height of the thumbnail to set.

width int

The 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 Uri

Thumbnail url to set.

height int

The height of the thumbnail to set.

width int

The width of the thumbnail to set.

Returns

DiscordEmbedBuilder

This embed builder.