ChatModelFactory.CreateChatThreadResult Method

Definition

public static Azure.Communication.Chat.CreateChatThreadResult CreateChatThreadResult (Azure.Communication.Chat.ChatThreadProperties chatThread, System.Collections.Generic.IEnumerable<Azure.Communication.Chat.ChatError> invalidParticipants);
static member CreateChatThreadResult : Azure.Communication.Chat.ChatThreadProperties * seq<Azure.Communication.Chat.ChatError> -> Azure.Communication.Chat.CreateChatThreadResult
Public Shared Function CreateChatThreadResult (chatThread As ChatThreadProperties, invalidParticipants As IEnumerable(Of ChatError)) As CreateChatThreadResult

Parameters

chatThread
ChatThreadProperties

Thread properties

invalidParticipants
IEnumerable<ChatError>

List of invalid participants

Returns

A new CreateChatThreadResult(ChatThreadProperties, IEnumerable<ChatError>) instance for mocking.

Applies to