@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
31 lines (29 loc) • 683 B
text/typescript
type Attachment = {
/**
* @member {string} [id] The id of the attachment.
* @deprecated This is a legacy Bot Framework field and will be removed in a future version of the SDK.
*/
id?: string;
/**
* mimetype/Contenttype for the file
*/
contentType: string;
/**
* Content Url
*/
contentUrl?: string;
/**
* Embedded content
*/
content?: any;
/**
* (OPTIONAL) The name of the attachment
*/
name?: string;
/**
* (OPTIONAL) Thumbnail associated with attachment.
* Not set by Teams when a bot receives an upload.
*/
thumbnailUrl?: string;
};
export type { Attachment };