Skip to main content
Module

x/slack_bolt/mod.ts>Dialog

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
interface Dialog
import { type Dialog } from "https://deno.land/x/slack_bolt@1.0.0/mod.ts";

Properties

title: string
callback_id: string
elements: { type: "text" | "textarea" | "select"; name: string; label: string; optional?: boolean; placeholder?: string; value?: string; max_length?: number; min_length?: number; hint?: string; subtype?:
| "email"
| "number"
| "tel"
| "url"
; data_source?:
| "users"
| "channels"
| "conversations"
| "external"
; selected_options?: SelectOption[]; options?: SelectOption[]; option_groups?: { label: string; options: SelectOption[]; }[]; min_query_length?: number; }[]
optional
submit_label: string
optional
notify_on_cancel: boolean
optional
state: string