Versions Compared

Key

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

Disconnette il partecipante dalla chat il cui ID รจ corrispondente a quello passato parametroAdd a partecipant to an existing chat room.

Parameters:

Name

Mandatory

Type

Description

chat_id

Status
colourRed
titleYES

Status
titleSTRING

Unique Chat identifier

Returns:

...

:

Type

Description

JS Promise

A Javascript Promise that return an istance of the joined chat

Example:

Code Block
languagejs
LIVECHAT.joinContact(contact.id)
.then(function (contact) {
  console.log("[CTLIVE WIDGET] Contact Joined", contact);
})
.catch(function () {
  console.log("[CTLIVE WIDGET] [ERROR] Contact Join");
});