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); } } );