web客户端代码
// 设置接受者为0
receiver = 0;
$inputMessage.val('');
// tell server to execute 'new message' and send along one parameter
// var p = createCommonData4(dataMessage, IMSDK.getLoginInfo().loginUserId, receiver);
var p = createCommonData(JSON.stringify(dataMessage), 0, receiver);
sentMessageToUser(p);
IMSDK.sendData(p);