Skip to main content
Module

x/slack_bolt/mod.ts>OptionsRequest

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

A request for options for a select menu with an external data source, wrapped in the standard metadata. The menu can have a source of Slack's Block Kit external select elements, dialogs, or legacy interactive components.

This describes the entire JSON-encoded body of a request.

Properties

value: string
type: Source
team: { id: string; domain: string; enterprise_id?: string; enterprise_name?: string; } | null
optional
channel: { id: string; name: string; }
user: { id: string; name: string; team_id?: string; }
token: string
name: Source extends "interactive_message" | "dialog_suggestion" ? string : never
callback_id: Source extends "interactive_message" | "dialog_suggestion" ? string : never
action_ts: Source extends "interactive_message" | "dialog_suggestion" ? string : never
message_ts: Source extends "interactive_message" ? string : never
attachment_id: Source extends "interactive_message" ? string : never
api_app_id: Source extends "block_suggestion" ? string : never
action_id: Source extends "block_suggestion" ? string : never
block_id: Source extends "block_suggestion" ? string : never
container: Source extends "block_suggestion" ? StringIndexed : never
optional
app_unfurl: any
optional
is_enterprise_install: boolean
optional
enterprise: { id: string; name: string; }