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
Inheritance
DiscordChannelSelectComponent
Inherited Members

Constructors

DiscordChannelSelectComponent()

Constructs a new DiscordChannelSelectComponent.

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

Constructs a new DiscordChannelSelectComponent.

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

Constructs a new DiscordChannelSelectComponent for modals.

Properties

ChannelTypes

The channel types to filter by.

Methods

Disable()

Disables this component.

Enable()

Enables this component if it was disabled before.