Class ConversationRecipient

java.lang.Object
com.unblu.sdk.core.model.ConversationRecipient

public class ConversationRecipient extends Object
Represents a recipient of a conversation within the Unblu suite, identifying both the ID and the type of recipient (ConversationRecipientType.AGENT/ConversationRecipientType.TEAM). For new conversations that determines who will receive the conversation request and can accept the conversation.
  • Constructor Details

    • ConversationRecipient

      public ConversationRecipient(String id, ConversationRecipientType conversationType)
      Constructs a new instance of ConversationRecipient with the ID and recipient type specified. The ID must be the recipient's unique identifier in Unblu.
      Parameters:
      id - The unique identifier for the conversation recipient.
      conversationType - The type of the conversation recipient.
  • Method Details

    • getId

      public String getId()
      Returns:
      The ID of the conversation recipient
    • getType

      public ConversationRecipientType getType()
      Returns:
      The type of the conversation recipient
    • setId

      public void setId(String id)
      Sets the ID of the conversation recipient
      Parameters:
      id - The ID of the conversation recipient
    • setType

      public void setType(ConversationRecipientType type)
      Sets the type of the conversation recipient
      Parameters:
      type - The type of the conversation recipient