mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-29 02:36:17 +00:00
Sync with mattermost 3.0
This commit is contained in:
7
vendor/github.com/mattermost/platform/model/push_notification.go
generated
vendored
7
vendor/github.com/mattermost/platform/model/push_notification.go
generated
vendored
@ -11,7 +11,10 @@ import (
|
||||
const (
|
||||
PUSH_NOTIFY_APPLE = "apple"
|
||||
PUSH_NOTIFY_ANDROID = "android"
|
||||
MHPNS = "https://push.mattermost.com"
|
||||
|
||||
CATEGORY_DM = "DIRECT_MESSAGE"
|
||||
|
||||
MHPNS = "https://push.mattermost.com"
|
||||
)
|
||||
|
||||
type PushNotification struct {
|
||||
@ -23,6 +26,8 @@ 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