Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Add a partecipant to an existing chat room.

Parameters:

Name

Mandatory

Type

Description

chat_id

YES

STRING

Unique Chat identifier

Returns:

Type

Description

JS Promise

A Javascript Promise that return an istance of the joined chat

Example:

LIVECHAT.joinContact(contact.id).then(
  function (contact) {
    console.log("[CTLIVE WIDGET] Contact Joined", contact);
  },
  function () {
    console.log("[CTLIVE WIDGET] [ERROR] Contact Joined");
  }
);
  • No labels