Open ubuntudroid opened 6 years ago
Right now it doesn't seem to be possible to enable DND via the workflow.
The according endpoints would be
https://api.slack.com/methods/dnd.setSnooze
and
https://api.slack.com/methods/dnd.endDnd or https://api.slack.com/methods/dnd.endSnooze
In my own scripts I was always using the dnd.endDnd endpoint, but it might just be an alias for the dnd.endSnooze one.
dnd.endDnd
dnd.endSnooze
+1 for implementing this
Right now it doesn't seem to be possible to enable DND via the workflow.
The according endpoints would be
https://api.slack.com/methods/dnd.setSnooze
and
https://api.slack.com/methods/dnd.endDnd or https://api.slack.com/methods/dnd.endSnooze
In my own scripts I was always using the
dnd.endDnd
endpoint, but it might just be an alias for thednd.endSnooze
one.