Table of Contents

Method WithFileUploadComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

WithFileUploadComponent(DiscordFileUploadComponent)

Sets the file upload component for the label.

public DiscordLabelComponent WithFileUploadComponent(DiscordFileUploadComponent component)

Parameters

component DiscordFileUploadComponent

The file upload component to attach to the label.

Returns

DiscordLabelComponent