From b30e85836e575974bac1b2ea91e9b6c2dd39fe44 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 5 Sep 2016 16:34:37 +0200 Subject: Add Slack support --- vendor/github.com/nlopes/slack/websocket_dnd.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vendor/github.com/nlopes/slack/websocket_dnd.go (limited to 'vendor/github.com/nlopes/slack/websocket_dnd.go') diff --git a/vendor/github.com/nlopes/slack/websocket_dnd.go b/vendor/github.com/nlopes/slack/websocket_dnd.go new file mode 100644 index 00000000..62ddea3a --- /dev/null +++ b/vendor/github.com/nlopes/slack/websocket_dnd.go @@ -0,0 +1,8 @@ +package slack + +// DNDUpdatedEvent represents the update event for Do Not Disturb +type DNDUpdatedEvent struct { + Type string `json:"type"` + User string `json:"user"` + Status DNDStatus `json:"dnd_status"` +} -- cgit v1.2.3