forked from katacek/slack-message
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINPUT_SCHEMA.json
44 lines (44 loc) · 1.49 KB
/
INPUT_SCHEMA.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"title": "Input schema for slack-message actor.",
"type": "object",
"schemaVersion": 1,
"properties": {
"token": {
"title": "Token",
"type": "string",
"description": "Slack token in a format xoxp-xxxxxxxxx-xxxx",
"editor": "textfield",
"isSecret": true
},
"text": {
"title": "Message",
"type": "string",
"description": "Message that will be sent to Slack",
"prefill": "Hello from Apify actor!",
"example": "Hello from Apify actor!",
"editor": "textfield"
},
"channel": {
"title": "Channel",
"type": "string",
"description": "Channel where the message will be sent (ie #general)",
"prefill": "#general",
"example": "#general",
"editor": "textfield"
},
"threadId": {
"title": "Thread ID",
"type": "string",
"description": "The ID of another un-threaded message to reply to. You can find this information under the 'ts' key in the actor output.",
"example": "1342156650.000200",
"editor": "textfield"
},
"blocks": {
"title": "Blocks",
"type": "array",
"description": "An array of layout blocks. For more info see the slack blocks documentation.",
"editor": "json"
}
},
"required": ["token", "text", "channel"]
}