ApplicationCommandChannelOption¶
Inherits: ApplicationCommandOptionBuilder < Reference < Object
Description¶
Helper class to build channel options for a slash command.
Properties¶
type | name |
---|---|
PoolIntArray | channel_types |
Methods¶
return type | signature |
---|---|
ApplicationCommandChannelOption | filter ( PoolIntArray types ) |
Property Descriptions¶
-
PoolIntArray channel_types
List of channel types to filter out.
Method Descriptions¶
-
ApplicationCommandChannelOption ApplicationCommandChannelOption ( String option_name )
Constructs a new channel option builder.
-
ApplicationCommandChannelOption filter ( PoolIntArray types )
Provides a list of
Channel.Type
s to filter out the user's input.