Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods dnd.setSnooze.json
Raw

priv/docs/methods/dnd.setSnooze.json

{
"args": {
"num_minutes": {
"desc": "This argument is required. Number of minutes, from now, to snooze until.",
"example": "60",
"required": true,
"type": "string"
}
},
"desc": "Turns on Do Not Disturb mode for the current user, or changes its duration.",
"errors": {
"missing_duration": "No value provided for `num_minutes`",
"snooze_failed": "There was a problem setting the user's Do Not Disturb status",
"too_long": "The value for `num_minutes` was too large"
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "dnd:write",
"url": "https://docs.slack.dev/reference/scopes/dnd.write"
}
]
}
}