message receive
iFlyChat JavaScript SDK fires an event named 'message-receive' whenever a new message is received. 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