summaryrefslogtreecommitdiffstats
path: root/model/webhook.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-16 09:12:30 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-16 09:12:30 -0700
commit8b2d7f391aedeb5d6bd6490b92bdadf5050e1c73 (patch)
tree84e426d92eccf017f0fd5ccd22815a2139bd6e44 /model/webhook.go
parent6a1755d2e32c3f3bcaa67c33f32cb5eb5ab76ea2 (diff)
parent9c045f0d4bdf254f57b94356fd2f5f2a2408ed03 (diff)
downloadchat-8b2d7f391aedeb5d6bd6490b92bdadf5050e1c73.tar.gz
chat-8b2d7f391aedeb5d6bd6490b92bdadf5050e1c73.tar.bz2
chat-8b2d7f391aedeb5d6bd6490b92bdadf5050e1c73.zip
Fixing merge
Diffstat (limited to 'model/webhook.go')
-rw-r--r--model/webhook.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/model/webhook.go b/model/webhook.go
index 3bf034908..9b9969b96 100644
--- a/model/webhook.go
+++ b/model/webhook.go
@@ -8,6 +8,11 @@ import (
"io"
)
+const (
+ DEFAULT_WEBHOOK_USERNAME = "webhook"
+ DEFAULT_WEBHOOK_ICON = "/static/images/webhook_icon.jpg"
+)
+
type IncomingWebhook struct {
Id string `json:"id"`
CreateAt int64 `json:"create_at"`