UnsafeModalForm

abstract class UnsafeModalForm : ModalForm

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val grid: WidgetGrid
Link copied to clipboard
var id: String
Link copied to clipboard
Link copied to clipboard
open override val timeout: Duration
Link copied to clipboard
abstract var title: Key

Functions

Link copied to clipboard
suspend fun applyToBuilder(builder: ModalBuilder, locale: Locale)
Link copied to clipboard
suspend fun <T> awaitCompletion(callback: suspend (ModalSubmitInteraction?) -> T): T
Link copied to clipboard
suspend fun call(event: ModalSubmitInteractionCreateEvent)
Link copied to clipboard
open override fun getKoin(): Koin
Link copied to clipboard
fun lineText(coordinate: CoordinatePair?, builder: LineTextWidget.() -> Unit): LineTextWidget
Link copied to clipboard
Link copied to clipboard
suspend fun respond(interaction: ModalSubmitInteraction?): MessageInteractionResponseBehavior?
Link copied to clipboard
suspend fun <T> sendAndAwait(context: ApplicationCommandContext, callback: suspend (ModalSubmitInteraction?) -> T): T
suspend fun <T> sendAndAwait(context: ComponentContext<*>, callback: suspend (ModalSubmitInteraction?) -> T): T
suspend fun <T, E : InteractionCreateEvent> sendAndAwait(context: EventContext<E>, callback: suspend (ModalSubmitInteraction?) -> T): T
suspend fun <T> sendAndAwait(locale: Locale, interaction: ModalParentInteractionBehavior, callback: suspend (ModalSubmitInteraction?) -> T): T
Link copied to clipboard
suspend fun sendAndDeferEphemeral(context: ApplicationCommandContext): EphemeralMessageInteractionResponseBehavior?
suspend fun sendAndDeferEphemeral(context: ComponentContext<*>): EphemeralMessageInteractionResponseBehavior?
suspend fun <E : InteractionCreateEvent> sendAndDeferEphemeral(context: EventContext<E>): EphemeralMessageInteractionResponseBehavior?
Link copied to clipboard
suspend fun sendAndDeferPublic(context: ApplicationCommandContext): PublicMessageInteractionResponseBehavior?
suspend fun sendAndDeferPublic(context: ComponentContext<*>): PublicMessageInteractionResponseBehavior?
suspend fun <E : InteractionCreateEvent> sendAndDeferPublic(context: EventContext<E>): PublicMessageInteractionResponseBehavior?
Link copied to clipboard