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
typeDiscordSelectDefaultValueTypetype of the default
idulongId of the default