Constructor DiscordFileDisplayComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordFileDisplayComponent(DiscordFileDisplayComponent)
Constructs a new file display component based on another file display component.
public DiscordFileDisplayComponent(DiscordFileDisplayComponent other)
Parameters
other
DiscordFileDisplayComponentThe file display component to copy.
DiscordFileDisplayComponent(string, bool?)
Constructs a new file display component field with the specified options.
public DiscordFileDisplayComponent(string url, bool? spoiler)