M365AttachmentDownloader Class
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.
Downloads attachments from M365/Teams using the configured Token Provider (from IConnections).
public class M365AttachmentDownloader : Microsoft.Agents.Builder.App.IInputFileDownloader
type M365AttachmentDownloader = class
interface IInputFileDownloader
Public Class M365AttachmentDownloader
Implements IInputFileDownloader
- Inheritance
-
M365AttachmentDownloader
- Implements
Constructors
| Name | Description |
|---|---|
| M365AttachmentDownloader(IConnections, IHttpClientFactory, M365AttachmentDownloaderOptions, IOutboundHostValidator) |
Creates the M365AttachmentDownloader |
Methods
| Name | Description |
|---|---|
| DownloadFilesAsync(ITurnContext, ITurnState, CancellationToken) |
Download any files relative to the current user's input. |