MobileCRM.Services.ChatService - Resconet/JSBridge GitHub Wiki
MobileCRM.Services.ChatService Object
[v9.3] Represents a service for sending instant messages to users or shared channels.
Properties
Property |
Type |
Description |
chatUser |
MobileCRM.DynamicEntity |
An instance of the resco_chatuser entity for current user (either system or external). |
userEntity |
String |
The user entity name (either systemuser or external user entity name). |
userId |
String |
Primary key (id) of the current user (either system or external). |
Methods
Method |
Description |
attachNoteToPost |
Creates a note (annotation) entity with the file attachment related to specified post. |
postMessage |
Submits a new post into the channel defines by related entity reference. |
subscribeToEntityChannel |
Subscribes current user to a channel specified by related entity. |
Functions
Function |
Description |
getService |
Asynchronously creates the new instance of the ChatService. |