Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 3 Current »

Sends a link in the chat room. The url will be validated before send.

Name

Mandatory

Type

Description

url

YES

STRING

Url to send

replyTo

NO

STRING

Message ID you are replying to

Type

Description

JS Promise

A Javascript Promise that returns the message id that has been sent

contact.SendLink( "https://www.google.com/").then (
  function (msgid) {
    console.log("Link sent. ID [" + msgid + "]");
  }
).catch(
  function (err) {
    console.log("[SEND LINK] [ERROR]", err);
  }
);
  • No labels