Table of Contents

Method AddLabelComponents

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

AddLabelComponents(params DiscordLabelComponent[])

Appends a collection of label components to the builder.

public DiscordInteractionModalBuilder AddLabelComponents(params DiscordLabelComponent[] components)

Parameters

components DiscordLabelComponent[]

The components to append. Up to five.

Returns

DiscordInteractionModalBuilder

The current builder to chain calls with.

Exceptions

ArgumentException

Thrown when passing more than 5 components.