Table of Contents

Class DiscordFileDisplayComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a file display component.

public sealed class DiscordFileDisplayComponent : DiscordComponent
Inheritance
DiscordFileDisplayComponent
Inherited Members

Constructors

DiscordFileDisplayComponent(DiscordFileDisplayComponent)

Constructs a new file display component based on another file display component.

DiscordFileDisplayComponent(string, bool?)

Constructs a new file display component field with the specified options.

Properties

File

Gets the file.

Spoiler

Gets whether this file should be marked as spoiler.

Methods

WithId(uint)

Assigns a unique id to the components.