InteractionContract class abstract

Constructors

InteractionContract()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteDefer() Future<void>
Use to delete the deferred message. Usage:
deleteFollowUp() Future<void>
Use to delete the follow up message. Usage:
deleteReply() Future<void>
Use to delete the reply to the interaction. Need a reply to delete. Usage:
dialog(DialogBuilder dialog) Future<void>
Use to send a dialog to the interaction.
editFollowUp({String content, List<MessageEmbed> embeds, List<MessageComponent> components, bool ephemeral = false}) Future<InteractionContract>
Use to edit the follow up message. Usage:
editReply({String content, List<MessageEmbed> embeds, List<MessageComponent> components}) Future<InteractionContract>
Use to edit the reply to the interaction. Usage:
editWait({String content, List<MessageEmbed> embeds, List<MessageComponent> components, bool ephemeral = false}) Future<InteractionContract>
Use to edit the deferred message, delete the deferred message to a simple reply. Usage:
followUp({String content, List<MessageEmbed> embeds, List<MessageComponent> components, bool ephemeral = false}) Future<InteractionContract>
Use to follow up the interaction. Usage:
noReply() Future<void>
Use to not reply to the interaction, prevent the 'This interaction failed' message. Usage:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reply({String content, List<MessageEmbed> embeds, List<MessageComponent> components, bool ephemeral = false}) Future<InteractionContract>
Use to reply to the interaction. Usage:
toString() String
A string representation of this object.
inherited
wait() Future<InteractionContract>
Use to defer the interaction, like a loading state. Usage:

Operators

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