ModalResponse<T> mixin

Superclass Constraints
Mixin Applications

Properties

manager InteractionManager
The manager for this interaction.
finalinherited
id Snowflake
The ID of this interaction.
finalinherited
applicationId Snowflake
The ID of the application this interaction is for.
finalinherited
type InteractionType
The type of this interaction.
finalinherited
data → T
The data payload associated with this interaction.
finalinherited
guildId Snowflake?
The ID of the guild this interaction was triggered in.
finalinherited
channel PartialChannel?
The channel this interaction was triggered in.
finalinherited
channelId Snowflake?
The ID of the channel this interaction was triggered in.
finalinherited
member Member?
The member that triggered this interaction.
finalinherited
user User?
The user that triggered this interaction.
finalinherited
token String
The token to use when responding to this interaction.
finalinherited
version int
The interaction version.
finalinherited
message Message?
The message this interaction was triggered on.
finalinherited
appPermissions Permissions
The permissions of the application that triggered this interaction.
finalinherited
locale Locale?
The preferred locale of the user that triggered this interaction.
finalinherited
guildLocale Locale?
The preferred locale of the guild in which this interaction was triggered.
finalinherited
entitlements List<Entitlement>
The entitlements for the user and guild of this interaction.
finalinherited
authorizingIntegrationOwners Map<ApplicationIntegrationType, Snowflake>?
Mapping of installation contexts that the interaction was authorized for to related user or guild IDs.
finalinherited
context InteractionContextType?
Context where the interaction was triggered from.
finalinherited
guild PartialGuild?
The guild in which this interaction was triggered.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
respondModal(ModalBuilder builder) Future<void>
Send a modal response to this interaction.
toString() String
A string representation of this object.
inherited

Operators

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