Share via


InputFileDownloader interface

Interface for downloading input files in a specific turn context and state.

Methods

downloadFiles(TurnContext, TState)

Downloads files based on the provided turn context and state.

Method Details

downloadFiles(TurnContext, TState)

Downloads files based on the provided turn context and state.

function downloadFiles(context: TurnContext, state: TState): Promise<InputFile[]>

Parameters

context
TurnContext

The turn context for the current operation.

state

TState

The state associated with the current turn.

Returns

Promise<InputFile[]>

A promise that resolves to an array of input files.