Table of Contents

Class DiscordChannelSelectComponent

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

A select menu with multiple options to choose from.

public sealed class DiscordChannelSelectComponent : DiscordBaseSelectComponent, ILabelComponent
Inheritance
DiscordChannelSelectComponent
Implements
Inherited Members

Constructors

DiscordChannelSelectComponent()

Constructs a new DiscordChannelSelectComponent.

DiscordChannelSelectComponent(string, IEnumerable<ChannelType>, string, int, int, bool, IEnumerable<DiscordSelectDefaultValue>?, bool?)

Constructs a new DiscordChannelSelectComponent.

Properties

ChannelTypes

The channel types to filter by.

Methods

Disable()

Disables this component.

Enable()

Enables this component if it was disabled before.

WithId(int)

Assigns a unique id to this component.