matterbridge/vendor/github.com/nlopes/slack/websocket_stars.go

15 lines
381 B
Go
Raw Normal View History

2016-09-05 14:34:37 +00:00
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