/
checkGlobalLiteralExistence

checkGlobalLiteralExistence

Checks if the global literals for the specified language code exists.

Parameters:

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

localeCode

yes

string

Unique locale code

Returns:

Type

Description

Type

Description

JS Promise

A Javascript Promise.

Example:

LIVECHAT.checkGlobalLiteralExistence("it-it") .then(function(data){ console.log(data); /* { "result": true, "exist": true, "error": null } */ });

Related content

getGlobalLiteralsFromFile
getGlobalLiteralsFromFile
More like this
setLanguage
setLanguage
More like this
getLiterals
getLiterals
More like this
isCustomerWhatsappSessionActive
isCustomerWhatsappSessionActive
More like this
getTranscriptByChatID
getTranscriptByChatID
More like this
init
init
More like this