summaryrefslogtreecommitdiffstats
path: root/model/push_notification.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-04-26 07:29:50 -0700
committerGitHub <noreply@github.com>2017-04-26 07:29:50 -0700
commit3e73adceb58e3a28bf3653b3e12a6a861643c400 (patch)
tree63f3aa91197d241dfbfdd009f0dc47d063dad21a /model/push_notification.go
parent41dbb7294673e78361fbef7587258f0bdee7a0f8 (diff)
downloadchat-3e73adceb58e3a28bf3653b3e12a6a861643c400.tar.gz
chat-3e73adceb58e3a28bf3653b3e12a6a861643c400.tar.bz2
chat-3e73adceb58e3a28bf3653b3e12a6a861643c400.zip
PLT-6108 adding extra params to push notifications (#6236)
* PLT-6108 adding extra params to push notifications * PLT-6108 adding extra params to push notifications
Diffstat (limited to 'model/push_notification.go')
-rw-r--r--model/push_notification.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/model/push_notification.go b/model/push_notification.go
index 49d4043eb..5131c033d 100644
--- a/model/push_notification.go
+++ b/model/push_notification.go
@@ -36,6 +36,10 @@ type PushNotification struct {
ChannelId string `json:"channel_id"`
ChannelName string `json:"channel_name"`
Type string `json:"type"`
+ UserId string `json:"user_id"`
+ OverrideUsername string `json:"override_username"`
+ OverrideIconUrl string `json:"override_icon_url"`
+ FromWebhook string `json:"from_webhook"`
}
func (me *PushNotification) ToJson() string {