Share via


ChannelServiceHandlerBase.HandleSendConversationHistoryAsync Method

Definition

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.

Applies to