MobileCRM.Services.ChatService.postMessage - Resconet/JSBridge GitHub Wiki
Submits a new post into the channel defines by related entity reference.
Use reference to resco_chattopic entity to specify a shared channel or reference to a peer user to specify the private channel.
Argument | Type | Description |
---|---|---|
regardingEntity | MobileCRM.Reference | A reference to an entity that the post should relate to. |
text | String | The post content. |
callback | function(MobileCRM.DynamicEntity) | The callback function which is called asynchronously with MobileCRM.DynamicEntity representing newly created resco_chatpost record. |
errorCallback | function(errorMsg) | The errorCallback which is called in case of error. |
scope | Object | The scope for callbacks. |