接入群消息系统通知和本机开关

This commit is contained in:
xhgit committed 2026-11-15 22:11:23 +08:00
1 parent fef421bd4b
commit 5c882ac855
7 files changed
+179 -6

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ interface DesktopBridge {
apiBase: string
signChallenge: (username: string, challenge: string) => Promise<DeviceProof>
openBrowser?: (url?: string) => Promise<void>
groupNotificationsSupported: () => Promise<boolean>
showGroupNotification: () => Promise<void>
closeGroupNotification: () => Promise<void>
allowVoiceRecording: () => Promise<void>
endVoiceRecording: () => Promise<void>
signMls: (username: string, kind: 'credential' | 'KeyPackage', user: string, device: string, value: Uint8Array<ArrayBuffer>) => Promise<Uint8Array<ArrayBuffer>>