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
Id
public int? Id { get; }
Property Value
- int?
IsSpoiler
Gets whether the component is a spoiler.
public bool IsSpoiler { get; }
Property Value
Media
Gets the media of the component.
public UnfurledMediaItem Media { get; }
Property Value
Type
Gets the ComponentType of this Message Component.
public ComponentType Type { get; }
Property Value
Methods
ToBuilder()
Converts a ThumbnailComponent to a ThumbnailBuilder.
public ThumbnailBuilder ToBuilder()