Table of Contents

Constructor ChannelTypesAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

ChannelTypesAttribute(params ChannelType[])

Defines allowed channel types for a channel parameter.

public ChannelTypesAttribute(params ChannelType[] channelTypes)

Parameters

channelTypes ChannelType[]

The channel types to allow.