InteractionContract class abstract

Constructors

InteractionContract()

Properties

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

Methods

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:
editFollowup({required MessageBuilder builder, bool ephemeral = false}) Future<InteractionContract>
Use to edit the follow up message. Usage:
editReply({required MessageBuilder builder, bool ephemeral = false}) Future<InteractionContract>
Use to edit the reply to the interaction. Usage:
followup({required MessageBuilder builder, bool ephemeral = false}) Future<InteractionContract>
Use to follow up the interaction. Usage:
Use to send a modal to the interaction.
noReply({bool ephemeral = false}) 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({required MessageBuilder builder, 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