Message Class |
Namespace: MedTunnelMsg.Models
The Message type exposes the following members.
| Name | Description | |
|---|---|---|
| AllRecipients | List of Recipient objects for the message recipients | |
| AttachmentCount | Number of attachments included in the message | |
| AttachmentNames | Array of Attachment objects | |
| Body | Message text | |
| BodyHistory | Message history. Will be populated when a message is replied to | |
| DateReceived | Date the message was received | |
| DisplayDateReceived | Display formatted of the date the message was received | |
| DistributionListId | Internal Distribution List Id if this message was sent to a Distribution List | |
| DistributionListName | Distribution List Name if this message was sent to a Distribution List | |
| EmailAddress | Recipient's email address | |
| FromMailBoxId | Internal Mailbox Id where the message originated from | |
| FromUserAccountName | Name of the Account the message was sent from | |
| FromUserAccountTitle | Description of the Account the message was sent from | |
| FromUserFullName | Sender's full name | |
| FromUserId | Internal MedTunnel Id of the sender | |
| FromUserName | Senders MedTunnel Id | |
| FromUserType | The User Type Id of the sender | |
| Id | Internal message id | |
| ParentMessageId | Internal Message Id of the message's parent message | |
| Password | Password required to view the message | |
| PatientMedTunnelId | If sent by a patient this will be theit MedTunnel Id | |
| ReadReceiptCallbackUrl | When a message is first read a callback will be made to this url | |
| SendGlobalNotifications | ||
| Status | Message status | |
| Subject | Not used | |
| ToUserFullName | Recipient's full name | |
| ToUserId | Internal User Id of the recipient | |
| ToUserMailboxId | Internal Mailbox Id of the recipient | |
| ToUserName | Recipient's MedTunnel Id | |
| ToUserType | The User Type Id of the recipient | |
| ViewCount | Number of times the message has been viewed | |
| ViewedOn | Last date the message was viewed |