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

Version 1 Current »

Sends a notification to all partecipatns tha a user has started/stopped to write a message.

Parameters:

Name

Mandatory

Type

Description

bwrite

YES

BOOLEAN

If true it means that the user has started to write a message.

If false, it means that the user has stopped to write a message.

Example:

$("#textAreaChat").on("keydown", 
  function(e){
    if (e.which == 13) {
      // Send message..
     } else {
      contact.isWriting(true);
    }
  }
);
  • No labels