File: websocket_stars.go

package info (click to toggle)
golang-github-nlopes-slack 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 488 kB
  • sloc: makefile: 5
file content (14 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (4)
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