Language

FileDownloadInfo Class

Definition

The content of a file.download.info attachment, describing an uploaded file received in a personal (1:1) chat. The file is fetched from the short-lived, pre-authorized DownloadUrl with a plain GET (no bearer token).

public class FileDownloadInfo
type FileDownloadInfo = class
Public Class FileDownloadInfo
Inheritance
FileDownloadInfo

Constructors

Name Description
FileDownloadInfo()

Properties

Name Description
DownloadUrl

Pre-authorized, short-lived URL the file can be fetched from with a plain GET (no bearer token).

Etag

A server-assigned version tag identifying this version of the file's contents, for detecting whether the file changed between reads. Read-only; populated when Teams provides it with the file.

FileType

Type of file (extension, e.g. pdf, docx).

UniqueId

The ODSP/OneDrive identifier for the file. Useful for correlation, dedup and logging, but not for retrieval: the Graph fetch resolves bytes from the attachment's contentUrl through /shares, and this value arrives as a GUID, which is a SharePoint listItemUniqueId shape rather than a Graph driveItem.id.

Applies to