SlackWeb.Dnd.set_snooze
You're seeing just the function
set_snooze
, go back to SlackWeb.Dnd module for more information.
Turns on Do Not Disturb mode for the current user, or changes its duration.
Required Params
num_minutes
- Number of minutes, from now, to snooze until. ex:60
Errors the API can return:
missing_duration
- No value provided fornum_minutes
snooze_failed
- There was a problem setting the user's Do Not Disturb status