You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tencent-im/push/enum.go

39 lines
1.3 KiB
Go

/**
* @Author: Echo
* @Author:1711788888@qq.com
* @Date: 2021/9/7 10:16
* @Desc: TODO
*/
package push
import (
"git.echol.cn/loser/tencent-im/internal/enum"
)
const (
// 推送标识
PushFlagYes = enum.PushFlagYes // 正常推送
PushFlagNo = enum.PushFlagYes // 不离线推送
// 华为推送通知消息分类
HuaWeiImportanceLow = enum.HuaWeiImportanceLow // LOW类消息
HuaWeiImportanceNormal = enum.HuaWeiImportanceNormal // NORMAL类消息
// 华为推送为“打开应用内指定页面”的前提下透传参数行为
HuaweiIntentParamAction = enum.HuaweiIntentParamAction // 将透传内容Ext作为Action参数
HuaweiIntentParamIntent = enum.HuaweiIntentParamIntent // 将透传内容Ext作为Intent参数
// VIVO手机推送消息分类
VivoClassificationOperation = enum.VivoClassificationOperation // 运营类消息
VivoClassificationSystem = enum.VivoClassificationSystem // 系统类消息
// IOS徽章计数模式
BadgeModeNormal = enum.BadgeModeNormal // 本条消息需要计数
BadgeModeIgnore = enum.BadgeModeIgnore // 本条消息不需要计数
// IOS10的推送扩展开关
MutableContentNormal = enum.MutableContentNormal // 关闭iOS10的推送扩展
MutableContentEnable = enum.MutableContentEnable // 开启iOS10的推送扩展
)