tag

Add tags to the selected conversations.

📘

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

function tag(tagIds: ReadonlyArray<string>, cancelToken?: CancelToken): Promise<void>;

Parameters

ParameterTypeDescription
tagIdsArray of StringList of the tag IDs to add.
cancelTokenCancelToken (optional)Token to cancel the request.

Return value

The function returns a promise that resolves once the tags are added.