Skip to main content

lib/slack/web/docs/dnd.setSnooze.json

{
	"desc": "Turns on Do Not Disturb mode for the current user, or changes its duration.",

	"args": {
		"num_minutes": {
			"required"	: true,
			"type"		: "int",
			"example"	: "60",
			"desc"		: "Number of minutes, from now, to snooze until."
		}
	},
	"errors": {
		"missing_duration"	: "No value provided for `num_minutes`",
		"snooze_failed"		: "There was a problem setting the user's Do Not Disturb status"

	}

}