Table of Contents

Class ChannelTypesAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

Defines allowed channel types for a channel parameter.

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class ChannelTypesAttribute : Attribute
Inheritance
object
Attribute
ChannelTypesAttribute

Constructors

ChannelTypesAttribute(params DiscordChannelType[])

Defines allowed channel types for a channel parameter.

Properties

ChannelTypes

Allowed channel types.