openConversationInPopup

Requests Front to open a conversation in a popup.

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

Parameters

Parameter

Type

Description

conversationId

String

Conversation id to open in popup. Ex. cnv_xxx.

cancelToken

Cancel token

Token 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');