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
type
DiscordSelectDefaultValueTypeType of the defaults
ids
IEnumerable<ulong>Collection of ids