Package list golang-github-nlopes-slack / 5f046818-5e83-4f73-a88b-e31de9bbd4e3/main websocket_dnd.go
5f046818-5e83-4f73-a88b-e31de9bbd4e3/main

Tree @5f046818-5e83-4f73-a88b-e31de9bbd4e3/main (Download .tar.gz)

websocket_dnd.go @5f046818-5e83-4f73-a88b-e31de9bbd4e3/mainraw · history · blame

1
2
3
4
5
6
7
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"`
}