@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
32 lines (30 loc) • 699 B
text/typescript
/**
*
* An interface representing FileUploadInfo.
* Information about the file to be uploaded.
*
*/
type FileUploadInfo = {
/**
* @member {string} [name] Name of the file.
*/
name?: string;
/**
* @member {string} [uploadUrl] URL to an upload session that the bot can use
* to set the file contents.
*/
uploadUrl?: string;
/**
* @member {string} [contentUrl] URL to file.
*/
contentUrl?: string;
/**
* @member {string} [uniqueId] ID that uniquely identifies the file.
*/
uniqueId?: string;
/**
* @member {string} [fileType] Type of the file.
*/
fileType?: string;
};
export type { FileUploadInfo };