Skip to main content

MessageShortcut

Defined in: src/types/shortcuts/message-shortcut.ts:7

A Slack message action wrapped in the standard metadata.

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

Properties

action_ts

action_ts: string;

Defined in: src/types/shortcuts/message-shortcut.ts:39


callback_id

callback_id: string;

Defined in: src/types/shortcuts/message-shortcut.ts:9


channel

channel: object;

Defined in: src/types/shortcuts/message-shortcut.ts:28

id

id: string;

name

name: string;

enterprise?

optional enterprise?: object;

Defined in: src/types/shortcuts/message-shortcut.ts:43

id

id: string;

name

name: string;

is_enterprise_install?

optional is_enterprise_install?: boolean;

Defined in: src/types/shortcuts/message-shortcut.ts:42


message

message: object;

Defined in: src/types/shortcuts/message-shortcut.ts:14

Index Signature

[key: string]: any

text?

optional text?: string;

ts

ts: string;

type

type: "message";

user?

optional user?: string;

message_ts

message_ts: string;

Defined in: src/types/shortcuts/message-shortcut.ts:11


response_url

response_url: string;

Defined in: src/types/shortcuts/message-shortcut.ts:12


team

team:
| {
domain: string;
enterprise_id?: string;
enterprise_name?: string;
id: string;
}
| null;

Defined in: src/types/shortcuts/message-shortcut.ts:32


token

token: string;

Defined in: src/types/shortcuts/message-shortcut.ts:38


trigger_id

trigger_id: string;

Defined in: src/types/shortcuts/message-shortcut.ts:10


type

type: "message_action";

Defined in: src/types/shortcuts/message-shortcut.ts:8


user

user: object;

Defined in: src/types/shortcuts/message-shortcut.ts:22

id

id: string;

name

name: string;

team_id?

optional team_id?: string;

username?

optional username?: string;