Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/slack_types/mod.ts>Dialog

Types for slack-deno packages. Deno port of @slack/types
Latest
interface Dialog
import { type Dialog } from "https://deno.land/x/slack_types@3.0.3/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