---
title: "TGeMessage"
canonical: "https://docs.dk.is/space/DEV/10356170/TGeMessage"
format: markdown
---
This class represents a message

## Properties

The following are the properties of the class

- MessageRecordId : Integer  
This is the property is to
- MessageFrom: String  
This property contains the number of the sender.
- MessageFromName: String  
This property contains the name of the sender.
- MessageTo: String  
This property contains the number of the recipient.
- ParentId: Integer  
This property contains the MessageRecordId of the parent message.
- ReadByUser: Boolean  
This property is used to confirm if the user has read the message.
- DateFrom: DateTime  
This property is used for announcement type messages (_MessAnnouncement see [TMessageType](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356166)) to denote when the announcement takes effect.
- DateTo: DateTime  
This property is used for announcement type messages (_MessAnnouncement see [TMessageType](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356166)) to denote when the announcement ends.
- Description: String  
This property is use is dependent on the message type for _MessAnnouncement it keep the title of the message for _MessApplication it keeps the application number and for _MessMember it keeps the member number.
- SentDate: DateTime  
This property contains the date and time the message was sent.
- TheMessage: String  
This property contains the message itself.
- Attachments: <span style="color: #172b4d">Array of</span><span style="color: #172b4d"> </span>[TAttachmentFile](https://docs.dk.is/display/DEV/TAttachmentFile)
- MessageType: [TMessageType](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356166)
- WrittenByStaff : Boolean  
This property is to denote if the user that wrote this message is considered a staff member.

## Related articles

[TMessageType](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356166)

[TAttachmentFile](https://docs.dk.is/display/DEV/TAttachmentFile)