Table of Contents

Class DiscordFileComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents a component that will display a single file.

public sealed class DiscordFileComponent : DiscordComponent
Inheritance
object
DiscordFileComponent
Inherited Members

Constructors

DiscordFileComponent(string, bool)

Properties

File

Gets the file associated with this component. It may be an arbitrary URL or an attachment:// reference.

IsSpoilered

Gets whether this file is spoilered.