Idioma

Conversations.GetConversationsWithHttpMessagesAsync Método

Definição

GetConversations.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.ConversationsResult>> GetConversationsWithHttpMessagesAsync(string continuationToken = default, 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<Microsoft.Bot.Schema.ConversationsResult>> GetConversationsWithHttpMessagesAsync(string continuationToken = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConversationsWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.ConversationsResult>>
override this.GetConversationsWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.ConversationsResult>>
abstract member GetConversationsWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.ConversationsResult>>
override this.GetConversationsWithHttpMessagesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.ConversationsResult>>
Public Function GetConversationsWithHttpMessagesAsync (Optional continuationToken As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of ConversationsResult))

Parâmetros

continuationToken
String

Token de skip ou de continuação.

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados ao pedido.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Task<Microsoft.Rest.HttpOperationResponse<ConversationsResult>>
Task<Microsoft.Rest.HttpOperationResponse<ConversationsResult>>

Um objeto de resposta contendo o corpo de resposta e os cabeçalhos de resposta.

Implementações

Exceções

Foi lançado quando a operação devolveu um código de estado inválido.

Microsoft.Rest.SerializationException

Lançado quando não é possível desserializar a resposta.

Observações

Liste as Conversas nas quais esse bot participou.

GET a partir deste método com um token skip

O valor de retorno é um ConversationsResult, que contém uma matriz de ConversationMembers e um token skip. Se o token skip não estiver vazio, haverá outros valores a serem retornados. Chame esse método novamente com o token retornado para obter mais valores.

Cada objeto ConversationMembers contém a ID da conversa e uma matriz de ChannelAccounts que descrevem os membros da conversa.

Aplica-se a