Share via


TeamsAttachmentDownloader Class

Definition

Downloads attachments from Teams using the configure Token Provider (from IConnections).

public class TeamsAttachmentDownloader : Microsoft.Agents.Builder.App.IInputFileDownloader
type TeamsAttachmentDownloader = class
    interface IInputFileDownloader
Public Class TeamsAttachmentDownloader
Implements IInputFileDownloader
Inheritance
TeamsAttachmentDownloader
Implements

Constructors

TeamsAttachmentDownloader(TeamsAttachmentDownloaderOptions, IConnections, IHttpClientFactory)

Creates the TeamsAttachmentDownloader

Methods

DownloadFilesAsync(ITurnContext, ITurnState, CancellationToken)

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

Applies to