CreateChatThreadResult Class

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

public final class CreateChatThreadResult

The CreateChatThreadResult model.

Constructor Summary

Constructor Description
CreateChatThreadResult(ChatThreadProperties chatThreadProperties, List<ChatError> invalidParticipants)

Constructs a new instance of CreateChatThreadResult

Method Summary

Modifier and Type Method and Description
ChatThreadProperties getChatThread()

Get the chatThread property: The chatThread property.

List<ChatError> getInvalidParticipants()

Get the invalidParticipants property: The participants that failed to be added to the chat thread.

Methods inherited from java.lang.Object

Constructor Details

CreateChatThreadResult

public CreateChatThreadResult(ChatThreadProperties chatThreadProperties, List 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 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.

Applies to