Skip to main content

Properties

boolean
(modal: ModalElement, contextId: string) => Promise<{ viewId: string } | undefi…
Type: ModalElementOverride the default modal-opening behavior to handle it inline within the current webhook response cycle. When provided, called instead of adapter.openModal(). Used by Teams to return modal content in the HTTP invoke response.The returned viewId is platform-specific (e.g. Slack’s view ID). Adapters that don’t produce a view ID may return void.
boolean
Opt in to exposing message, action, and slash command handler errors through waitUntil. This only changes handler-error observability through waitUntil; errors are still logged and direct method behavior is unchanged. Defaults to false, preserving the current fulfilled-task behavior.
(task: Promise<unknown>) => void
Function to run message handling in the background. Use this to ensure fast webhook responses while processing continues.