Intent enum

Inheritance
Available extensions

Values

guilds → const Intent
const Intent(1 << 0)
guildMembers → const Intent
const Intent(1 << 1)
guildBans → const Intent
const Intent(1 << 2)
guildEmojisAndStickers → const Intent
const Intent(1 << 3)
guildIntegrations → const Intent
const Intent(1 << 4)
guildWebhooks → const Intent
const Intent(1 << 5)
guildInvites → const Intent
const Intent(1 << 6)
guildVoiceStates → const Intent
const Intent(1 << 7)
guildPresences → const Intent
const Intent(1 << 8)
guildMessages → const Intent
const Intent(1 << 9)
guildMessageReactions → const Intent
const Intent(1 << 10)
guildMessageTyping → const Intent
const Intent(1 << 11)
directMessages → const Intent
const Intent(1 << 12)
directMessageReaction → const Intent
const Intent(1 << 13)
directMessageTyping → const Intent
const Intent(1 << 14)
messageContent → const Intent
const Intent(1 << 17)
guildScheduledEvents → const Intent
const Intent(1 << 16)
autoModerationConfiguration → const Intent
const Intent(1 << 20)
autoModerationExecution → const Intent
const Intent(1 << 21)
all → const Intent
const Intent(0)

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
value int
final

Methods

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

Operators

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

Static Methods

getIntent(List<Intent> intents) int

Constants

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