接入私聊消息通知和联系人免打扰
This commit is contained in:
1 parent
5c882ac855
commit
7e165ba9b4
23 files changed
+286
-97
No files matched your search
+3
-3
@@ -7,9 +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>
|
||||
messageNotificationsSupported: () => Promise<boolean>
|
||||
showMessageNotification: (kind: 'group' | 'private') => Promise<void>
|
||||
closeMessageNotification: () => Promise<void>
|
||||
allowVoiceRecording: () => Promise<void>
|
||||
endVoiceRecording: () => Promise<void>
|
||||
signMls: (username: string, kind: 'credential' | 'KeyPackage', user: string, device: string, value: Uint8Array<ArrayBuffer>) => Promise<Uint8Array<ArrayBuffer>>
|
||||
|
||||
Reference in new issue
Block a user