Module slacker_dnd

Function Index

end_dnd/1Ends the user's currently scheduled Do Not Disturb session immediately.
end_snooze/1Ends the current user's snooze mode immediately.
info/3Provides information about a user's current Do Not Disturb settings.
set_snooze/2Ends the current user's snooze mode immediately.
team_info/3Provides information about the current Do Not Disturb settings for users of a Slack team.

Function Details

end_dnd/1

end_dnd(Token::string()) -> http_response()

Ends the user's currently scheduled Do Not Disturb session immediately.

end_snooze/1

end_snooze(Token::string()) -> http_response()

Ends the current user's snooze mode immediately.

info/3

info(Token::string(), User::string(), Options::list()) -> http_response()

Provides information about a user's current Do Not Disturb settings.

Options can be: user: user to fetch status for (default: current user)

set_snooze/2

set_snooze(Token::string(), NumMinutes::integer()) -> http_response()

Ends the current user's snooze mode immediately.

team_info/3

team_info(Token::string(), Users::[string()], Options::list()) -> http_response()

Provides information about the current Do Not Disturb settings for users of a Slack team.

Options can be: users: users to fetch status for


Generated by EDoc, Feb 3 2016, 17:11:45.