Method AddDefaults
- Namespace
 - DSharpPlus.Entities
 
- Assembly
 - DSharpPlus.dll
 
AddDefaults(DiscordSelectDefaultValueType, IEnumerable<ulong>)
Adds a collections of DiscordRoles or DiscordUsers to this component. All the ids must be of the same type.
public DiscordMentionableSelectComponent AddDefaults(DiscordSelectDefaultValueType type, IEnumerable<ulong> ids)
Parameters
typeDiscordSelectDefaultValueTypeType of the defaults
idsIEnumerable<ulong>Collection of ids