ConversationsExtensions.SendConversationHistoryAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
SendConversationHistoryAsync(IConversations, String, Transcript, CancellationToken) | |
SendConversationHistoryAsync(IConversations, String, Transcript, CancellationToken) |
SendConversationHistory. |
SendConversationHistoryAsync(IConversations, String, Transcript, CancellationToken)
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.ResourceResponse> SendConversationHistoryAsync (this Microsoft.Bot.Connector.IConversations operations, string conversationId, Microsoft.Bot.Connector.Transcript history, System.Threading.CancellationToken cancellationToken = default);
static member SendConversationHistoryAsync : Microsoft.Bot.Connector.IConversations * string * Microsoft.Bot.Connector.Transcript * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.ResourceResponse>
<Extension()>
Public Function SendConversationHistoryAsync (operations As IConversations, conversationId As String, history As Transcript, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceResponse)
Parameters
- operations
- IConversations
- conversationId
- String
- history
- Transcript
- cancellationToken
- CancellationToken
Retouren
Van toepassing op
SendConversationHistoryAsync(IConversations, String, Transcript, CancellationToken)
SendConversationHistory.
public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse> SendConversationHistoryAsync (this Microsoft.Bot.Connector.IConversations operations, string conversationId, Microsoft.Bot.Schema.Transcript transcript, System.Threading.CancellationToken cancellationToken = default);
static member SendConversationHistoryAsync : Microsoft.Bot.Connector.IConversations * string * Microsoft.Bot.Schema.Transcript * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse>
<Extension()>
Public Function SendConversationHistoryAsync (operations As IConversations, conversationId As String, transcript As Transcript, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceResponse)
Parameters
- operations
- IConversations
De bewerkingsgroep voor deze extensiemethode.
- conversationId
- String
Gespreks-id.
- transcript
- Transcript
Transcriptie van activiteiten.
- cancellationToken
- CancellationToken
Het annuleringstoken.
Retouren
De ResourceResponse.
Opmerkingen
Met deze methode kunt u de historische activiteiten uploaden naar het gesprek.
De afzender moet ervoor zorgen dat de historische activiteiten unieke id's en de juiste tijdstempels hebben. De id's worden door de client gebruikt om dubbele activiteiten af te handelen en de tijdstempels worden door de client gebruikt om de activiteiten in de juiste volgorde weer te geven.