Skip to main content
Module

x/slack_bolt/src/types/shortcuts/global-shortcut.ts

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
File
// deno-lint-ignore-file camelcase/** * A Slack global shortcut wrapped in the standard metadata. * * This describes the entire JSON-encoded body of a request from Slack global shortcuts. */export interface GlobalShortcut { type: "shortcut" callback_id: string trigger_id: string user: { id: string username: string team_id: string } // team is null for org apps shortcut payload team: { id: string domain: string enterprise_id?: string enterprise_name?: string } | null token: string action_ts: string
// exists for enterprise installs is_enterprise_install?: boolean enterprise?: { id: string name: string }}