Option to enable full snippets in push notifications
Этот коммит содержится в:
@@ -11,6 +11,8 @@ import (
|
||||
const (
|
||||
PUSH_NOTIFY_APPLE = "apple"
|
||||
PUSH_NOTIFY_ANDROID = "android"
|
||||
|
||||
CATEGORY_DM = "DIRECT_MESSAGE"
|
||||
)
|
||||
|
||||
type PushNotification struct {
|
||||
@@ -22,6 +24,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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user