Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
Message Class
Message Properties
AddedParticipants Property
Attachments Property
Body Property
ConversationId Property
CreateAttachmentCapability Property
DeliveryDetailsCapability Property
DeliveryState Property
FromParticipant Property
HasAttachment Property
HasHtmlBody Property
HasInReplyTo Property
HasUnreadAttachment Property
HtmlBody Property
Id Property
Importance Property
IsDoNotForward Property
IsFromMe Property
IsPrivate Property
LastModifiedDate Property
MarkAsReadCapability Property
ProviderMessageId Property
ProviderType Property
ReadState Property
Reason Property
ReceivedDate Property
Recipients Property
RemoveCapability Property
RemovedParticipants Property
SendCapability Property
Sensitivity Property
Status Property
Subject Property
Type Property
UpdateBodyCapability Property
UpdateDoNotForwardCapability Property
UpdateImportanceCapability Property
UpdateInReplyToCapability Property

Message Properties

The Message type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| AddedParticipants | When the message type is Joined, this property returns the list of participants that were added to the conversation.
| Attachments | Gets the list of attachments for this message.
| Body | Returns the body of the message.
| ConversationId | Returns the unique identifier of the conversation to which this message belongs.
| CreateAttachmentCapability | Returns a Capability object that indicates if an attachment can be added to the message.
| DeliveryDetailsCapability | Returns a Capability object that indicates whether the message can provide its delivery details.
| DeliveryState | The message delivery state describing whether this message is sent or delivered to one or more recipients.
| FromParticipant | Returns the participant who was the sender of the message.
| HasAttachment | Returns true if the message has one or more attachments.
| HasHtmlBody | Returns true if the message contains HTML body.
| HasInReplyTo | Returns true if message has InReplyTo message (does not mean it is in cache).
| HasUnreadAttachment | Returns true if the message has a least one attachment that has not been viewed.
| HtmlBody | Returns the HTML body of the message if the HTML body available, otherwise an empty string returned.
| Id | Returns the unique message identifier.
| Importance | Returns the message importance.
| IsDoNotForward | Returns the IsDoNotForward status of the message, which indicates if the sender of this message had disallowed forwarding of this particular message.
| IsFromMe | Returns true if the current user is the sender of the message.
| IsPrivate | Returns true if the message is marked as a private message.
| LastModifiedDate | Returns the date and time that the message was last modified.
| MarkAsReadCapability | Returns a Capability object that indicates if the message can be marked as read.
| ProviderMessageId | Returns the message ID from the underlying provider(e.g., the AMM server) as-is. It will be consistent across clients and application launches, but is only guaranteed to be unique for messages of that provider type. It will be empty for draft message.
| ProviderType | Returns the messaging provider type.
| ReadState | The message read state describing whether this message is read, partially read or not read.
| Reason | Returns the message reason type.
| ReceivedDate | Returns the date and time that the message was received.
| Recipients | Returns the list of participants, including the sender, that the message was sent to.
| RemoveCapability | Returns a Capability object that indicates if the message can be removed.
| RemovedParticipants | When the message type is Left, this property returns the list of participants that were removed from the conversation.
| SendCapability | Returns a Capability object that indicates if the message can be sent.
| Sensitivity | Returns the message sensitivity.
| Status | Returns the message status.
| Subject | Returns the subject of the conversation at the time the message was sent.
| Type | Returns the message type.
| UpdateBodyCapability | Returns a Capability object that indicates if the body text or "is typing" status of the message can be updated.
| UpdateDoNotForwardCapability | Returns a Capability object that indicates if the DoNotForward attribute of the message can be updated.
| UpdateImportanceCapability | Returns a Capability object that indicates if the Importance attribute of the message can be updated.
| UpdateInReplyToCapability | Returns a Capability object that indicates if the InReplyTo attribute of the message can be updated.

Top
See Also

#### Reference

Message Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.