[MM-57964] Implement openThread
and openStopRecordingModal
(#3073)
* Implement API to open thread from Calls widget * Stop recording modal * Rename
This commit is contained in:
@@ -70,6 +70,12 @@ export type DesktopAPI = {
|
||||
|
||||
focusPopout: () => void;
|
||||
|
||||
openThreadForCalls: (threadID: string) => void;
|
||||
onOpenThreadForCalls: (listener: (threadID: string) => void) => () => void;
|
||||
|
||||
openStopRecordingModal: (channelID: string) => void;
|
||||
onOpenStopRecordingModal: (listener: (channelID: string) => void) => () => void;
|
||||
|
||||
// Utility
|
||||
unregister: (channel: string) => void;
|
||||
}
|
||||
|
4
api-types/lib/index.d.ts
vendored
4
api-types/lib/index.d.ts
vendored
@@ -59,5 +59,9 @@ export type DesktopAPI = {
|
||||
onJoinCallRequest: (listener: (callID: string) => void) => () => void;
|
||||
openLinkFromCalls: (url: string) => void;
|
||||
focusPopout: () => void;
|
||||
openThreadForCalls: (threadID: string) => void;
|
||||
onOpenThreadForCalls: (listener: (threadID: string) => void) => () => void;
|
||||
openStopRecordingModal: (channelID: string) => void;
|
||||
onOpenStopRecordingModal: (listener: (channelID: string) => void) => () => void;
|
||||
unregister: (channel: string) => void;
|
||||
};
|
||||
|
Reference in New Issue
Block a user