Table of Contents

Constructor DiscordMentionableSelectComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DiscordMentionableSelectComponent(string, string, bool, int, int)

Creates a new mentionable select component.

public DiscordMentionableSelectComponent(string customId, string placeholder, bool disabled = false, int minOptions = 1, int maxOptions = 1)

Parameters

customId string

The ID of this component.

placeholder string

Placeholder text that's shown when no options are selected.

disabled bool

Whether this component is disabled.

minOptions int

The minimum amount of options to be selected.

maxOptions int

The maximum amount of options to be selected, up to 25.