DeferredPublicMessageInteractionResponseBehavior

An InteractionResponseBehavior returned when using ActionInteractionBehavior.deferPublicResponse.

The main operation this handle supports is respond, the user will see a 'loading' animation until it is invoked.

The 'loading' animation is visible to all users in the channel the interaction was sent from.

This handle does not support sending followup messages to the interaction.

Properties

Link copied to clipboard
abstract val applicationId: Snowflake

Copied from the Interaction the response is for.

Link copied to clipboard
abstract val kord: Kord

The kord instance that created this object.

Link copied to clipboard
abstract val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard
abstract val token: String

Copied from the Interaction the response is for.

Functions

Link copied to clipboard

Requests to delete the response.

Link copied to clipboard
open suspend fun getFollowupMessage(messageId: Snowflake): FollowupMessage

Returns a followup message for an interaction response.

Link copied to clipboard
open suspend fun getFollowupMessageOrNull(messageId: Snowflake): FollowupMessage?

Returns a followup message for an interaction response or null if it was not found.

Link copied to clipboard

Returns a copy of this class with a new supplier provided by the strategy.