summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nlopes/slack/comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nlopes/slack/comment.go')
-rw-r--r--vendor/github.com/nlopes/slack/comment.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/nlopes/slack/comment.go b/vendor/github.com/nlopes/slack/comment.go
new file mode 100644
index 00000000..7d1c0d4e
--- /dev/null
+++ b/vendor/github.com/nlopes/slack/comment.go
@@ -0,0 +1,10 @@
+package slack
+
+// Comment contains all the information relative to a comment
+type Comment struct {
+ ID string `json:"id,omitempty"`
+ Created JSONTime `json:"created,omitempty"`
+ Timestamp JSONTime `json:"timestamp,omitempty"`
+ User string `json:"user,omitempty"`
+ Comment string `json:"comment,omitempty"`
+}