summaryrefslogtreecommitdiffstats
path: root/model/webhook.go
diff options
context:
space:
mode:
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"`