Skip to main content
Module

x/slack_bolt/mod.ts>BlockAction

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

A Slack Block Kit element action wrapped in the standard metadata.

This describes the entire JSON-encoded body of a request from Slack's Block Kit interactive components.

Properties

type: "block_actions"
actions: [ElementAction]
team: { id: string; domain: string; enterprise_id?: string; enterprise_name?: string; } | null
user: { id: string; name: string; team_id?: string; }
optional
channel: { id: string; name: string; }
optional
message: { [key: string]: any; type: "message"; user?: string; ts: string; text?: string; }
optional
view: ViewOutput
token: string
response_url: string
trigger_id: string
api_app_id: string
container: StringIndexed
optional
app_unfurl: any
optional
is_enterprise_install: boolean
optional
enterprise: { id: string; name: string; }