mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 18:52:02 -08:00
15 lines
381 B
Go
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
|