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
DiscordSelectDefaultValueTypetype of the default
id
ulongId of the default