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

Parameter

Type

Description

status

String

Status of the conversation (cf: Conversation Status)

cancelToken

CancelToken (optional)

Token to cancel the request.

Return value

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