ModalContextAction

class ModalContextAction(val ctx: ModalContext, val original: MessageCreateData) : ContextAction<MessageCreateData>

Constructors

Link copied to clipboard
constructor(ctx: ModalContext, original: MessageCreateData)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val interaction: Interaction
Link copied to clipboard
open override val original: MessageCreateData

Functions

Link copied to clipboard
open fun applyConfiguration(configuration: ContextAction.Configuration.() -> Unit): ContextAction<MessageCreateData>
Link copied to clipboard
fun editOriginal(): WebhookMessageEditAction<Message>
Link copied to clipboard
open fun queue()

Queue the request and don't wait for the response.

Link copied to clipboard
open override fun reply(): ReplyCallbackAction

Send a reply message to the interaction.

Link copied to clipboard
open override fun send(): WebhookMessageCreateAction<Message>

Send a followup message to the interaction.

Link copied to clipboard
open fun setActionRows(vararg rows: ActionRow): ContextAction<MessageCreateData>
open fun setActionRows(rows: Collection<ActionRow>): ContextAction<MessageCreateData>
Link copied to clipboard
open fun setEphemeral(ephemeral: Boolean): ContextAction<MessageCreateData>