message send
iFlyChat JavaScript SDK fires an event named 'message-send' whenever a new message is sent by the current user. You may bind to this event in following manner:
Here message is a JS object with following properties:
fromId
fromName
toId
toName
message
messageId
Last updated