Conversations.GetConversationsWithHttpMessagesAsync Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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
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.
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.