MessageModel
Direct Subclass:
this class was deprecated.
Model representing message. In-app conversations consist of one or more messages.
Constructor Summary
| Public Constructor | ||
| public |
constructor(response: Object) this constructor was deprecated.
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
Public Constructors
public constructor(response: Object) source
this constructor was deprecated.
Params:
| Name | Type | Attribute | Description |
| response | Object | JSON formatted response of a single message in a conversation |
|
| response.id | Number | The id of the message |
|
| response.title | String | The title of the message |
|
| response.body | Object | The body of the message |
|
| response.subject | String | The subject of the message |
|
| response.recipients | Array | The recipients of the message. |
|
| response.attachment | Object | Attachment included in the message. |
|
| response.attachment.file_data | String | File data for the attachment. |
|
| response.attachment.content_type | String | Content type of the attachment. |
|
| response.attachment.file_name | String | File name of hte attachment. |
Manual
Reference
Source
Test
