Table of Contents

Class DiscordChannelSelectComponent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll
public sealed class DiscordChannelSelectComponent : BaseDiscordSelectComponent
Inheritance
DiscordChannelSelectComponent
Inherited Members

Constructors

DiscordChannelSelectComponent(string, string, IEnumerable<DiscordChannelType>?, bool, int, int)

Creates a new channel select component.

Properties

ChannelTypes
DefaultValues

The default values for this component.

Methods

AddDefaultChannel(DiscordChannel)

Adds a default channel to this component.

AddDefaultChannel(ulong)

Adds a default channel to this component.

AddDefaultChannels(IEnumerable<DiscordChannel>)

Adds a collections of DiscordChannel as default values.

AddDefaultChannels(IEnumerable<ulong>)

Collections of channel ids to add as default values.

Disable()

Disables this component.

Enable()

Enables this component.