critical
:
run
function supplied to the Job
constructor with the webhook payload. This gives you the following advantages over traditional webhooks:
event
payload to your run
function, so you don’t have to setup webhook payload types.response
object from your postMessage
function, so you don’t have to setup Slack API types.