ApplicationCommandOptionType enum

Inheritance

Constructors

ApplicationCommandOptionType()
const

Values

subCommand → const ApplicationCommandOptionType

sub command

subCommandGroup → const ApplicationCommandOptionType

sub command group

string → const ApplicationCommandOptionType

string

integer → const ApplicationCommandOptionType

Any integer between -2^53 and 2^53

boolean → const ApplicationCommandOptionType

boolean

user → const ApplicationCommandOptionType

user

User ID

channel → const ApplicationCommandOptionType

Includes all channel types + categories

Channel ID

role → const ApplicationCommandOptionType

role

Role ID

mentionable → const ApplicationCommandOptionType

Includes users and roles

number → const ApplicationCommandOptionType

Any double between -2^53 and 2^53

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ApplicationCommandOptionType>
A constant List of the values in this enum, in order of their declaration.