Conversations.GetConversationPagedMembersWithHttpMessagesAsync 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.
GetConversationPagedMembers.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.PagedMembersResult>> GetConversationPagedMembersWithHttpMessagesAsync(string conversationId, int? pageSize = default, 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.PagedMembersResult>> GetConversationPagedMembersWithHttpMessagesAsync(string conversationId, int? pageSize = default, string continuationToken = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConversationPagedMembersWithHttpMessagesAsync : string * Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.PagedMembersResult>>
override this.GetConversationPagedMembersWithHttpMessagesAsync : string * Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.PagedMembersResult>>
abstract member GetConversationPagedMembersWithHttpMessagesAsync : string * Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.PagedMembersResult>>
override this.GetConversationPagedMembersWithHttpMessagesAsync : string * Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.PagedMembersResult>>
Public Function GetConversationPagedMembersWithHttpMessagesAsync (conversationId As String, Optional pageSize As Nullable(Of Integer) = Nothing, 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 PagedMembersResult))
Parâmetros
- conversationId
- String
ID da Conversa.
- continuationToken
- String
Token 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.
Lançado quando um valor de entrada não corresponde ao tipo de dado esperado, intervalo ou padrão.
Lançado quando um parâmetro exigido é nulo.
Observações
Enumere os membros de uma conversa uma página de cada vez.
Esta API REST usa um ConversationId. Opcionalmente, um pageSize e/ou continuationToken podem ser fornecidos. Ele retorna um PagedMembersResult, que contém uma matriz de ChannelAccounts representando os membros da conversa e um token de continuação que pode ser usado para obter mais valores.
Uma página de registros ChannelAccounts é retornada com cada chamada. O número de registros em uma página pode variar entre canais e chamadas. O parâmetro pageSize pode ser usado como sugestão. Se não houver resultados adicionais, a resposta não conterá um token de continuação. Se não houver membros na conversa, os membros estarão vazios ou não estarão presentes na resposta.
Uma resposta a uma solicitação que tenha um token de continuação de uma solicitação anterior raramente pode retornar membros de uma solicitação anterior.