Class DiscordFileComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents a component that will display a single file.
public sealed class DiscordFileComponent : DiscordComponent
- Inheritance
-
objectDiscordFileComponent
- Inherited Members
Constructors
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.