Class CreateChatThreadResult
java.lang.Object
com.azure.communication.chat.models.CreateChatThreadResult
The CreateChatThreadResult model.
-
Constructor Summary
ConstructorDescriptionCreateChatThreadResult
(ChatThreadProperties chatThreadProperties, List<ChatError> invalidParticipants) Constructs a new instance of CreateChatThreadResult -
Method Summary
Modifier and TypeMethodDescriptionGet the chatThread property: The chatThread property.Get the invalidParticipants property: The participants that failed to be added to the chat thread.
-
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
Get the chatThread property: The chatThread property.- Returns:
- the chatThread value.
-
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.
-