-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.Services.ChatService
Maros Kolibas edited this page Nov 29, 2019
·
2 revisions
[v9.3] Represents a service for sending instant messages to users or shared channels.
| 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). |
| 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. |
| Function | Description |
|---|---|
| getService | Asynchronously creates the new instance of the ChatService. |