4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-12 12:06:29 +00:00
Files
matterbridge/vendor/github.com/slack-go/slack/websocket_pins.go
2020-03-01 20:59:19 +01:00

17 lines
446 B
Go

package slack
type pinEvent struct {
Type string `json:"type"`
User string `json:"user"`
Item Item `json:"item"`
Channel string `json:"channel_id"`
EventTimestamp string `json:"event_ts"`
HasPins bool `json:"has_pins,omitempty"`
}
// PinAddedEvent represents the Pin added event
type PinAddedEvent pinEvent
// PinRemovedEvent represents the Pin removed event
type PinRemovedEvent pinEvent