Class InstantMessageEventBody

java.lang.Object
com.ringcentral.definitions.InstantMessageEventBody

public class InstantMessageEventBody extends Object
Notification payload body
  • Field Details

    • id

      public String id
      Internal identifier of a message
    • to

      Message receiver(s) information
    • from

      public SenderInfo from
    • type

      public String type
      Type of message. The default value is 'SMS'
    • creationTime

      public String creationTime
      Message creation date/time in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z Format: date-time
    • lastModifiedTime

      public String 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

      public String readStatus
      Message read status Enum: Read, Unread
    • priority

      public String priority
      Message priority Enum: Normal, High
    • attachments

      public MessageAttachmentInfo[] attachments
      Message attachment data
    • direction

      public String direction
      Message direction (inbound or outbound) Enum: Inbound, Outbound
    • availability

      public String 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

      public String subject
      Message subject. It replicates message text which is also returned as an attachment
    • messageStatus

      public String 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

      public String conversationId
      Deprecated. Identifier of a conversation the message belongs to
    • conversation

      public ConversationInfo conversation
    • ownerId

      public String ownerId
      Internal identifier of a subscription owner extension
  • Constructor Details

    • InstantMessageEventBody

      public InstantMessageEventBody()
  • Method Details