summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/slack-go/slack/websocket_stars.go
blob: e0f2dda3d61a1f8f700345be0c6baef1019e74b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14












                                                     
package slack

type starEvent struct {
	Type           string      `json:"type"`
	User           string      `json:"user"`
	Item           StarredItem `json:"item"`
	EventTimestamp string      `json:"event_ts"`
}

// StarAddedEvent represents the Star added event
type StarAddedEvent starEvent

// StarRemovedEvent represents the Star removed event
type StarRemovedEvent starEvent