Class DiscordUserSelectComponent
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
A select component that allows users to be selected.
public sealed class DiscordUserSelectComponent : BaseDiscordSelectComponent
- Inheritance
-
DiscordUserSelectComponent
- Inherited Members
Constructors
- DiscordUserSelectComponent(string, string, bool, int, int)
Creates a new user select component.
Properties
- DefaultValues
The default values for this component.
Methods
- AddDefaultUser(DiscordUser)
Adds a default user to this component.
- AddDefaultUser(ulong)
Adds a default user to this component.
- AddDefaultUsers(IEnumerable<DiscordUser>)
Collections of DiscordUser to add as default values.
- AddDefaultUsers(IEnumerable<ulong>)
Collections of user ids to add as default values.
- Disable()
Disables this component.
- Enable()
Enables this component.