Interface InjectMessageRequestBase

All Known Subinterfaces:
InjectMessageRequest

public interface InjectMessageRequestBase
A message on a particular channel.
  • Method Details

    • getAcceptTime

      Instant getAcceptTime()
      The processed time of the message in UTC timezone. Must be less than current_time and greater than (current_time - 30 days)

      Field is required

      Returns:
      acceptTime
    • getChannelIdentity

      ChannelIdentity getChannelIdentity()
      Get channelIdentity

      Field is required

      Returns:
      channelIdentity
    • getContactId

      String getContactId()
      The ID of the contact registered in the conversation provided.

      Field is required

      Returns:
      contactId
    • getDirection

      ConversationDirection getDirection()
      Get direction

      Field is required

      Returns:
      direction
    • getConversationId

      String getConversationId()
      The ID of the conversation.
      Returns:
      conversationId
    • getSenderId

      String getSenderId()
      For Contact Messages (MO messages), the sender ID represents the recipient to which the message was sent. This may be a phone number (in the case of SMS and MMS) or a unique ID (in the case of WhatsApp). This is field is not supported on all channels, nor is it supported for MT messages.
      Returns:
      senderId
    • getProcessingMode

      ProcessingMode getProcessingMode()
      Get processingMode
      Returns:
      processingMode
    • getMetadata

      String getMetadata()
      Optional. Metadata associated with the contact. Up to 1024 characters long.
      Returns:
      metadata