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.

Name

Gets the file name.

Size

Gets the file size.

Spoiler

Gets whether this file should be marked as spoiler.

Methods

WithId(int)

Assigns a unique id to this component.