0
0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-03 08:08:34 +00:00
crazy-max_diun/vendor/github.com/nlopes/slack/websocket_stars.go
2024-12-14 22:30:21 +01:00

15 lines
381 B
Go

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