IConversations.GetConversationMembersWithHttpMessagesAsync Método

Definição

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)))

Parâmetros

conversationId
String

ID da conversa.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

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

Uma tarefa que representa o Microsoft.Rest.HttpOperationResponse.

Exceções

Gerado quando a operação retornou um código de status inválido.

Microsoft.Rest.SerializationException

Gerado quando não é possível desserializar a resposta.

Microsoft.Rest.ValidationException

Gerado quando um parâmetro necessário é nulo.

Comentários

Enumerar os membros de uma conversa.

Essa API REST usa uma ConversationId e retorna uma matriz de objetos ChannelAccount que representam os membros da conversa.

Aplica-se a