Constructs a new Thumbnail component.
Optional initial data for the thumbnail component.
Sets the description for the thumbnail.
The description text. Can be undefined to remove the description.
The updated Thumbnail instance.
Sets the ID for the thumbnail component.
The ID to set.
The updated Thumbnail instance.
Sets the media URL for the thumbnail.
The URL of the image to display as a thumbnail.
The updated Thumbnail instance.
Sets whether the thumbnail should be visually marked as a spoiler.
Whether the thumbnail is a spoiler (defaults to true).
The updated Thumbnail instance.
Represents a thumbnail component builder. Used to display a small image preview, often alongside other content.
Example