[MM-57964] Implement openThread and openStopRecordingModal (#3073)

* Implement API to open thread from Calls widget

* Stop recording modal

* Rename
This commit is contained in:
Claudio Costa
2024-06-20 18:42:21 +02:00
committed by GitHub
parent d3a76caeef
commit c0e2b2a0e7
7 changed files with 100 additions and 1 deletions

View File

@@ -22,4 +22,6 @@ export interface ExternalAPI {
createListener(event: 'calls-error', listener: (err: string, callID?: string, errMsg?: string) => void): () => void;
createListener(event: 'calls-link-click', listener: (url: string) => void): () => void;
createListener(event: 'desktop-sources-modal-request', listener: () => void): () => void;
createListener(event: 'calls-widget-open-thread', listener: (threadID: string) => void): () => void;
createListener(event: 'calls-widget-open-stop-recording-modal', listener: (channelID: string) => void): () => void;
}