3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-26 05:02:39 +01:00
matterbridge/vendor/github.com/nlopes/slack/websocket_pins.go

17 lines
446 B
Go
Raw Normal View History

2016-09-05 16:34:37 +02:00
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