ChannelServiceHandlerBase.HandleSendConversationHistoryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uploads the historic activities of the conversation.
public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse> HandleSendConversationHistoryAsync (string authHeader, string conversationId, Microsoft.Bot.Schema.Transcript transcript, System.Threading.CancellationToken cancellationToken = default);
member this.HandleSendConversationHistoryAsync : string * string * Microsoft.Bot.Schema.Transcript * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse>
Public Function HandleSendConversationHistoryAsync (authHeader As String, conversationId As String, transcript As Transcript, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceResponse)
Parameters
- authHeader
- String
The authentication header.
- conversationId
- String
The conversation Id.
- transcript
- Transcript
Transcript of activities.
- cancellationToken
- CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
A Task<TResult> representing the result of the asynchronous operation.