PublicMessageInteractionResponse
class PublicMessageInteractionResponse(message: Message, val applicationId: Snowflake, val token: String, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : MessageInteractionResponse, PublicMessageInteractionResponseBehavior(source)
A PublicMessageInteractionResponseBehavior that holds the message this is a handle to.
Parameters
message
The message. To use the message behavior your application must be authorized as a bot.
Constructors
Link copied to clipboard
constructor(message: Message, applicationId: Snowflake, token: String, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)
Properties
Link copied to clipboard
Copied from the Interaction the response is for.
Link copied to clipboard
The supplier used to request entities.
Link copied to clipboard
Copied from the Interaction the response is for.
Functions
Link copied to clipboard
inline suspend fun FollowupPermittingInteractionResponseBehavior.createEphemeralFollowup(builder: FollowupMessageCreateBuilder.() -> Unit): EphemeralFollowupMessage
Follows up an interaction response by sending a FollowupMessage with the Ephemeral flag.
Link copied to clipboard
inline suspend fun FollowupPermittingInteractionResponseBehavior.createPublicFollowup(builder: FollowupMessageCreateBuilder.() -> Unit): PublicFollowupMessage
Follows up an interaction response by sending a FollowupMessage without the Ephemeral flag.
Link copied to clipboard
inline suspend fun MessageInteractionResponseBehavior.edit(builder: InteractionResponseModifyBuilder.() -> Unit): MessageInteractionResponse
Requests to edit this MessageInteractionResponseBehavior.
inline suspend fun PublicMessageInteractionResponseBehavior.edit(builder: InteractionResponseModifyBuilder.() -> Unit): PublicMessageInteractionResponse
Requests to edit this PublicMessageInteractionResponseBehavior.
Link copied to clipboard
Returns a followup message for an interaction response.
Link copied to clipboard
Returns a followup message for an interaction response or null if it was not found.
Link copied to clipboard