Conversations.GetConversationsWithHttpMessagesAsync Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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))
Parametry
- continuationToken
- String
skip nebo pokračovací token.
- customHeaders
- Dictionary<String,List<String>>
Hlavičky, které budou přidány do požadavku.
- cancellationToken
- CancellationToken
Token zrušení.
Návraty
Objekt odpovědi obsahující tělo odpovědi a hlavičky odpovědi.
Implementuje
Výjimky
Vyvolá se, když operace vrátila neplatný stavový kód.
Vyvolána, když nelze odpověď deserializovat.
Poznámky
Vypište konverzace, kterých se robot zúčastnil.
GET z této metody s tokenem skip
Vrácená hodnota je ConversationsResult, která obsahuje pole ConversationMembers a token skip. Pokud není vynechaný token prázdný, je potřeba vrátit další hodnoty. Voláním této metody znovu s vráceným tokenem získáte další hodnoty.
Každý objekt ConversationMembers obsahuje ID konverzace a pole ChannelAccounts, které popisují členy konverzace.