sendAndDeferPublic

suspend fun <E : InteractionCreateEvent> sendAndDeferPublic(context: EventContext<E>): PublicMessageInteractionResponseBehavior?
suspend fun sendAndDeferPublic(context: ApplicationCommandContext): PublicMessageInteractionResponseBehavior?
suspend fun sendAndDeferPublic(context: ComponentContext<*>): PublicMessageInteractionResponseBehavior?

Convenience function that sends the modal, awaits its completion, and returns a deferred public interaction response.

Returns null if the modal times out before the user responds.