Table of Contents

Class ThumbnailComponent

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a thumbnail component.

public class ThumbnailComponent : IMessageComponent
Inheritance
ThumbnailComponent
Implements
Inherited Members

Properties

Description

Gets the description of the component.

public string Description { get; }

Property Value

string

Id

public int? Id { get; }

Property Value

int?

IsSpoiler

Gets whether the component is a spoiler.

public bool IsSpoiler { get; }

Property Value

bool

Media

Gets the media of the component.

public UnfurledMediaItem Media { get; }

Property Value

UnfurledMediaItem

Type

Gets the ComponentType of this Message Component.

public ComponentType Type { get; }

Property Value

ComponentType

Methods

ToBuilder()

public ThumbnailBuilder ToBuilder()

Returns

ThumbnailBuilder