添加音视频发送信息

This commit is contained in:
bobobobo
2026-02-09 02:10:27 +08:00
parent bed88896f8
commit eb57bfb6b4
8 changed files with 1147 additions and 901 deletions

View File

@@ -404,6 +404,20 @@
return `[直播信息]:${data.title}`
}
}
if (data.businessID === CHAT_MSG_CUSTOM_TYPE.VOICE_CALL) {
if (isText) {
return `${text[0]}:[语音通话]`
} else {
return `[语音通话]`
}
}
if (data.businessID === CHAT_MSG_CUSTOM_TYPE.VIDEO_CALL) {
if (isText) {
return `${text[0]}:[视频通话]`
} else {
return `[视频通话]`
}
}
if (data.content === 'Create Group' && item.type === 'GROUP') {
return `${item.getLastMessage('text')?.split(':')[0]}:创建群聊`
}