setStatus

Set the status of the selected conversations.

📘

This function is only available on context of types SINGLE_CONVERSATION and MULTI_CONVERSATIONS

function setStatus(status: string, cancelToken?: CancelToken): Promise<void>;

Parameters

ParameterTypeDescription
statusStringStatus of the conversation (cf: Conversation Status)
cancelTokenCancelToken (optional)Token to cancel the request.

Return value

The function returns a promise that resolves once Front receives the request.