Table of Contents

Interface IInputFileDownloader

Namespace
Microsoft.Agents.Builder.App
Assembly
Microsoft.Agents.Builder.dll

A plugin responsible for downloading files relative to the current user's input.

public interface IInputFileDownloader

Methods

DownloadFilesAsync(ITurnContext, ITurnState, CancellationToken)

Download any files relative to the current user's input.

Task<IList<InputFile>> DownloadFilesAsync(ITurnContext turnContext, ITurnState turnState, CancellationToken cancellationToken = default)

Parameters

turnContext ITurnContext

The turn context.

turnState ITurnState

The turn state.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IList<InputFile>>

A list of input files