Skip to main content
Module

x/slack_bolt/mod.ts>MessageShortcut

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

A Slack message action wrapped in the standard metadata.

This describes the entire JSON-encoded body of a request from Slack message actions.

Properties

type: "message_action"
callback_id: string
trigger_id: string
message_ts: string
response_url: string
message: { [key: string]: any; type: "message"; user?: string; ts: string; text?: string; }
user: { id: string; name: string; team_id?: string; username?: string; }
channel: { id: string; name: string; }
team: { id: string; domain: string; enterprise_id?: string; enterprise_name?: string; } | null
token: string
action_ts: string
optional
is_enterprise_install: boolean
optional
enterprise: { id: string; name: string; }