mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-16 07:12:31 +00:00
Sync with mattermost 2.2.0 release
This commit is contained in:
5
vendor/github.com/mattermost/platform/model/push_notification.go
generated
vendored
5
vendor/github.com/mattermost/platform/model/push_notification.go
generated
vendored
@@ -11,8 +11,7 @@ import (
|
||||
const (
|
||||
PUSH_NOTIFY_APPLE = "apple"
|
||||
PUSH_NOTIFY_ANDROID = "android"
|
||||
|
||||
CATEGORY_DM = "DIRECT_MESSAGE"
|
||||
MHPNS = "https://push.mattermost.com"
|
||||
)
|
||||
|
||||
type PushNotification struct {
|
||||
@@ -24,8 +23,6 @@ type PushNotification struct {
|
||||
Message string `json:"message"`
|
||||
Badge int `json:"badge"`
|
||||
ContentAvailable int `json:"cont_ava"`
|
||||
ChannelId string `json:"channel_id"`
|
||||
ChannelName string `json:"channel_name"`
|
||||
}
|
||||
|
||||
func (me *PushNotification) ToJson() string {
|
||||
|
Reference in New Issue
Block a user