Manual Reference Source Test
import MessageModel from 'clinical6/src/models/Message.js'
public class | source

MessageModel

Direct Subclass:

Message
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:

NameTypeAttributeDescription
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.

Public Members

public attachment: Object source

public body: Object source

public conversation_id: String source

public created_at: String source

public id: Number source

public recipients: Array source

public subject: String source

public title: String source

public updated_at: String source