/
isWriting
isWriting
Sends a notification to all partecipatns that 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);
}
}
);
, multiple selections available,
Related content
messageSeen
messageSeen
More like this
messageReceived
messageReceived
More like this
sendMessage
sendMessage
More like this