Udostępnij za pośrednictwem


IConversations.GetConversationMembersWithHttpMessagesAsync Metoda

Definicja

GetConversationMembers.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount>>> GetConversationMembersWithHttpMessagesAsync (string conversationId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>> GetConversationMembersWithHttpMessagesAsync (string conversationId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConversationMembersWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount>>>
abstract member GetConversationMembersWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>>
Public Function GetConversationMembersWithHttpMessagesAsync (conversationId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of ChannelAccount)))

Parametry

conversationId
String

Identyfikator konwersacji.

customHeaders
Dictionary<String,List<String>>

Nagłówki, które zostaną dodane do żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Task<Microsoft.Rest.HttpOperationResponse<IList<ChannelAccount>>>
Task<Microsoft.Rest.HttpOperationResponse<IList<ChannelAccount>>>

Zadanie reprezentujące Microsoft.Rest.HttpOperationResponse.

Wyjątki

Zgłaszany, gdy operacja zwróciła nieprawidłowy kod stanu.

Microsoft.Rest.SerializationException

Zgłaszany, gdy nie można wykonać deserializacji odpowiedzi.

Microsoft.Rest.ValidationException

Zgłaszany, gdy wymagany parametr ma wartość null.

Uwagi

Wyliczanie członków konwersacji.

Ten interfejs API REST przyjmuje identyfikator ConversationId i zwraca tablicę obiektów ChannelAccount reprezentujących członków konwersacji.

Dotyczy