Package com.ringcentral.definitions
Class InstantMessageEventBody
java.lang.Object
com.ringcentral.definitions.InstantMessageEventBody
Notification payload body
-
Field Summary
FieldsModifier and TypeFieldDescriptionMessage attachment dataMessage availability status.Deprecated.Message creation date/time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-timeMessage direction (inbound or outbound) Enum: Inbound, OutboundInternal identifier of a messageDate/time when the message was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-timeMessage status.Internal identifier of a subscription owner extensionMessage priority Enum: Normal, HighMessage read status Enum: Read, UnreadMessage subject.Message receiver(s) informationType of message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachments(MessageAttachmentInfo[] attachments) availability(String availability) conversation(ConversationInfo conversation) conversationId(String conversationId) creationTime(String creationTime) from(SenderInfo from) lastModifiedTime(String lastModifiedTime) messageStatus(String messageStatus) readStatus(String readStatus) to(NotificationRecipientInfo[] to)
-
Field Details
-
id
Internal identifier of a message -
to
Message receiver(s) information -
from
-
type
Type of message. The default value is 'SMS' -
creationTime
Message creation date/time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-time -
lastModifiedTime
Date/time when the message was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-time -
readStatus
Message read status Enum: Read, Unread -
priority
Message priority Enum: Normal, High -
attachments
Message attachment data -
direction
Message direction (inbound or outbound) Enum: Inbound, Outbound -
availability
Message availability status. Message in `Deleted` state is still preserved with all its attachments and can be restored. `Purged` means that all attachments are already deleted and the message itself is about to be physically deleted shortly Enum: Alive, Deleted, Purged -
subject
Message subject. It replicates message text which is also returned as an attachment -
messageStatus
Message status. Different message types may have different allowed status values. For outbound faxes the aggregated message status is returned. If, for multi-recipient outbound message, a status for at least one recipient is `Queued`, then the `Queued` value is returned. If a status for at least one recipient is `SendingFailed`, then the 'SendingFailed' value is returned. In other cases, the `Sent` status is returned Enum: Queued, Sent, Delivered, DeliveryFailed, SendingFailed, Received -
conversationId
Deprecated. Identifier of a conversation the message belongs to -
conversation
-
ownerId
Internal identifier of a subscription owner extension
-
-
Constructor Details
-
InstantMessageEventBody
public InstantMessageEventBody()
-
-
Method Details
-
id
-
to
-
from
-
type
-
creationTime
-
lastModifiedTime
-
readStatus
-
priority
-
attachments
-
direction
-
availability
-
subject
-
messageStatus
-
conversationId
-
conversation
-
ownerId
-