Table of Contents

Constructor DiscordFileUploadComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordFileUploadComponent(string, int, int, bool)

Constructs a new DiscordFileUploadComponent.

public DiscordFileUploadComponent(string customId = null, int minOptions = 1, int maxOptions = 1, bool required = true)

Parameters

customId string

The Id to assign to the file upload component.

minOptions int

Minimum count of files allowed to upload.

maxOptions int

Maximum count of files allowed to upload.

required bool

Whether the file upload is required.