You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constsectionDescription="Add a **section** block to your message and configure with plain text or mrkdwn. See [Slack's docs](https://api.slack.com/reference/block-kit/blocks?ref=bk#section) for more info.";
87
88
constcontextDescription="Add a **context** block to your message and configure with plain text or mrkdwn. Define multiple items if you'd like multiple elements in the context block. See [Slack's docs](https://api.slack.com/reference/block-kit/blocks?ref=bk#context) for more info.";
Copy file name to clipboardExpand all lines: components/slack/actions/common/send-message.mjs
+93-9Lines changed: 93 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,62 +9,136 @@ export default {
9
9
"as_user",
10
10
],
11
11
},
12
+
post_at: {
13
+
propDefinition: [
14
+
slack,
15
+
"post_at",
16
+
],
17
+
},
18
+
include_sent_via_pipedream_flag: {
19
+
type: "boolean",
20
+
optional: true,
21
+
default: true,
22
+
label: "Include link to workflow",
23
+
description: "Defaults to `true`, includes a link to the workflow at the end of your Slack message.",
24
+
},
25
+
customizeBotSettings: {
26
+
type: "boolean",
27
+
label: "Customize Bot Settings",
28
+
description: "Customize the username and/or icon of the Bot",
29
+
optional: true,
30
+
reloadProps: true,
31
+
},
12
32
username: {
13
33
propDefinition: [
14
34
slack,
15
35
"username",
16
36
],
37
+
hidden: true,
17
38
},
18
39
icon_emoji: {
19
40
propDefinition: [
20
41
slack,
21
42
"icon_emoji",
22
43
],
44
+
hidden: true,
23
45
},
24
46
icon_url: {
25
47
propDefinition: [
26
48
slack,
27
49
"icon_url",
28
50
],
51
+
hidden: true,
29
52
},
30
-
post_at: {
53
+
replyToThread: {
54
+
type: "boolean",
55
+
label: "Reply to Thread",
56
+
description: "Reply to an existing thread",
57
+
optional: true,
58
+
reloadProps: true,
59
+
},
60
+
thread_ts: {
31
61
propDefinition: [
32
62
slack,
33
-
"post_at",
63
+
"messageTs",
64
+
(c)=>({
65
+
channel: c.conversation,
66
+
}),
34
67
],
68
+
description: "Provide another message's `ts` value to make this message a reply (e.g., if triggering on new Slack messages, enter `{{event.ts}}`). Avoid using a reply's `ts` value; use its parent instead.",
69
+
optional: true,
70
+
hidden: true,
35
71
},
36
-
include_sent_via_pipedream_flag: {
72
+
thread_broadcast: {
73
+
propDefinition: [
74
+
slack,
75
+
"thread_broadcast",
76
+
],
77
+
hidden: true,
78
+
},
79
+
addMessageMetadata: {
37
80
type: "boolean",
81
+
label: "Add Message Metadata",
82
+
description: "Set the metadata event type and payload",
38
83
optional: true,
39
-
default: true,
40
-
label: "Include link to workflow",
41
-
description: "Defaults to `true`, includes a link to the workflow at the end of your Slack message.",
84
+
reloadProps: true,
42
85
},
43
86
metadata_event_type: {
44
87
propDefinition: [
45
88
slack,
46
89
"metadata_event_type",
47
90
],
91
+
hidden: true,
48
92
},
49
93
metadata_event_payload: {
50
94
propDefinition: [
51
95
slack,
52
96
"metadata_event_payload",
53
97
],
98
+
hidden: true,
99
+
},
100
+
configureUnfurlSettings: {
101
+
type: "boolean",
102
+
label: "Configure Unfurl Settings",
103
+
description: "Configure settings for unfurling links and media",
0 commit comments