-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.Services.ChatService.postMessage
rescocrm edited this page May 15, 2023
·
3 revisions
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. |