Table of Contents

Method AddDefault

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddDefault(DiscordSelectDefaultValueType, ulong)

Adds a default role or user to this component.

public DiscordMentionableSelectComponent AddDefault(DiscordSelectDefaultValueType type, ulong id)

Parameters

type DiscordSelectDefaultValueType

type of the default

id ulong

Id of the default

Returns

DiscordMentionableSelectComponent