singal offline push

This commit is contained in:
wangchuxiao
2022-06-02 20:06:14 +08:00
parent 2b25fea86c
commit 1fffd36054
4 changed files with 19 additions and 9 deletions
+10 -8
View File
@@ -44,6 +44,7 @@ const (
Quote = 114
Common = 200
GroupMsg = 201
SignalMsg = 202
//SysRelated
NotificationBegin = 1000
@@ -212,14 +213,15 @@ const (
)
var ContentType2PushContent = map[int64]string{
Picture: "[图片]",
Voice: "[语音]",
Video: "[视频]",
File: "[文件]",
Text: "你收到了一条文本消息",
AtText: "[有人@你]",
GroupMsg: "你收到一条群聊消息",
Common: "你收到一条新消息",
Picture: "[图片]",
Voice: "[语音]",
Video: "[视频]",
File: "[文件]",
Text: "你收到了一条文本消息",
AtText: "[有人@你]",
GroupMsg: "你收到一条群聊消息",
Common: "你收到一条新消息",
SignalMsg: "音視頻通話邀請",
}
const (