Debian Codegraph @

websocket_teams.go

raw symbols SCIP
1 package slack
2
3 // TeamJoinEvent represents the Team join event
4 type TeamJoinEvent struct {
5 Type string `json:"type"`
6 User User `json:"user"`
7 }
8
9 // TeamRenameEvent represents the Team rename event
10 type TeamRenameEvent struct {
11 Type string `json:"type"`
12 Name string `json:"name,omitempty"`
13 EventTimestamp string `json:"event_ts,omitempty"`
14 }
15
16 // TeamPrefChangeEvent represents the Team preference change event
17 type TeamPrefChangeEvent struct {
18 Type string `json:"type"`
19 Name string `json:"name,omitempty"`
20 Value []string `json:"value,omitempty"`
21 }
22
23 // TeamDomainChangeEvent represents the Team domain change event
24 type TeamDomainChangeEvent struct {
25 Type string `json:"type"`
26 URL string `json:"url"`
27 Domain string `json:"domain"`
28 }
29
30 // TeamMigrationStartedEvent represents the Team migration started event
31 type TeamMigrationStartedEvent struct {
32 Type string `json:"type"`
33 }