Files
windmill/community/scripts/u/bot/send_slack_image.json
T
Ruben Fiszel 2e132878e4 first commit
2022-05-05 04:25:58 +02:00

43 lines
974 B
JSON
Executable File

{
"summary": "Send image to slack",
"description": "Send a base64 image to a slack channel or user. Choose one of user or channel but not both.",
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"slack_resource",
"img_data"
],
"properties": {
"slack_resource": {
"description": "",
"type": "object",
"default": null,
"format": "resource-slack"
},
"img_data": {
"type": "string",
"default": null,
"description": "",
"contentEncoding": "base64",
"format": ""
},
"channel": {
"type": "string",
"default": null,
"description": "",
"format": ""
},
"user": {
"type": "string",
"default": null,
"description": "",
"format": ""
}
}
},
"is_template": false,
"lock": [
"slack-sdk==3.15.2"
]
}