summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/platform/model/push_notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/platform/model/push_notification.go')
-rw-r--r--vendor/github.com/mattermost/platform/model/push_notification.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/vendor/github.com/mattermost/platform/model/push_notification.go b/vendor/github.com/mattermost/platform/model/push_notification.go
index 753495b2..654d1d9a 100644
--- a/vendor/github.com/mattermost/platform/model/push_notification.go
+++ b/vendor/github.com/mattermost/platform/model/push_notification.go
@@ -1,4 +1,4 @@
-// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
+// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package model
@@ -36,6 +36,10 @@ type PushNotification struct {
ChannelId string `json:"channel_id"`
ChannelName string `json:"channel_name"`
Type string `json:"type"`
+ SenderId string `json:"sender_id"`
+ OverrideUsername string `json:"override_username"`
+ OverrideIconUrl string `json:"override_icon_url"`
+ FromWebhook string `json:"from_webhook"`
}
func (me *PushNotification) ToJson() string {