Class CreateChatThreadResult

java.lang.Object
com.azure.communication.chat.models.CreateChatThreadResult

public final class CreateChatThreadResult extends Object
The CreateChatThreadResult model.
  • Constructor Details

    • CreateChatThreadResult

      public CreateChatThreadResult(ChatThreadProperties chatThreadProperties, List<ChatError> invalidParticipants)
      Constructs a new instance of CreateChatThreadResult
      Parameters:
      chatThreadProperties - The chat thread that was created.
      invalidParticipants - List of errors that occurred when attempting to create the chat thread.
  • Method Details

    • getChatThread

      public ChatThreadProperties getChatThread()
      Get the chatThread property: The chatThread property.
      Returns:
      the chatThread value.
    • getInvalidParticipants

      public List<ChatError> getInvalidParticipants()
      Get the invalidParticipants property: The participants that failed to be added to the chat thread. The 'target' property of each ChatError will reference the failed participant.
      Returns:
      the invalidParticipants value.