Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Returns the contact object of a currently active chat based on the ChatID.

Parameters:

Name

Mandatory

Type

Description

chatId

Status
colourRed
titleyes

Status
titlestring

Unique chat identifier

...

Code Block
languagejs
LIVECHAT.getContactByChatID("CHAT_DEFAULT_97656d2ccdccec91-28b47b95-41fc47f4-af389b14-111066cefcafb6f8cf944b73")
.then(function(data){
  console.log("Chat contact", data);
});

...