openConversationInPopup

Requests Front to open a conversation in a popup.

function openConversationInPopup(conversationId: string, cancelToken?: CancelToken): Promise<void>;

Parameters

ParameterTypeDescription
conversationIdStringConversation id to open in popup. Ex. cnv_xxx.
cancelTokenCancel tokenToken to cancel the request.

Return value

The function returns a Promise that resolves when the request has been received by Front.

Example

Front.openConversationInPopup('cnv_xxx');