Returns the contact object of a currently active chat based on the ChatID.
Parameters:
Name | Mandatory | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
chatId |
|
| Unique chat identifier |
...
Code Block | ||
---|---|---|
| ||
LIVECHAT.getContactByChatID("CHAT_DEFAULT_97656d2ccdccec91-28b47b95-41fc47f4-af389b14-111066cefcafb6f8cf944b73") .then(function(data){ console.log("Chat contact", data); }); |
...