Codebase list golang-github-nlopes-slack / 6aeef4e websocket_teams.go
6aeef4e

Tree @6aeef4e (Download .tar.gz)

websocket_teams.go @6aeef4eraw · history · blame

package slack

type TeamJoinEvent struct {
	Type string `json:"type"`
	User *User  `json:"user,omitempty"`
}

type TeamRenameEvent struct {
	Type           string          `json:"type"`
	Name           string          `json:"name,omitempty"`
	EventTimestamp *JSONTimeString `json:"event_ts,omitempty"`
}

type TeamPrefChangeEvent struct {
	Type  string   `json:"type"`
	Name  string   `json:"name,omitempty"`
	Value []string `json:"value,omitempty"`
}

type TeamDomainChangeEvent struct {
	Type   string `json:"type"`
	URL    string `json:"url"`
	Domain string `json:"domain"`
}

type TeamMigrationStartedEvent struct {
	Type string `json:"type"`
}