Codebase list golang-github-nlopes-slack / c42c144
reaction item is only IDs Matt Drollette 8 years ago
1 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 package slack
1
2 // reactionItem is a lighter-weight item than is returned by the reactions list.
3 type reactionItem struct {
4 Type string `json:"type"`
5 Channel string `json:"channel,omitempty"`
6 File string `json:"file,omitempty"`
7 FileComment string `json:"file_comment,omitempty"`
8 Timestamp string `json:"ts,omitempty"`
9 }
110
211 type reactionEvent struct {
312 Type string `json:"type"`
413 User string `json:"user"`
5 Item ReactedItem `json:"item"`
14 Item reactionItem `json:"item"`
615 Reaction string `json:"reaction"`
716 EventTimestamp JSONTimeString `json:"event_ts"`
817 }