@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
25 lines (23 loc) • 590 B
TypeScript
/**
*
* An interface representing MessageActionsPayloadBody.
* Plaintext/HTML representation of the content of the message.
*
*/
type MessageBody = {
/**
* @member {ContentType} [contentType] Type of the content. Possible values
* include: 'html', 'text'
*/
contentType?: 'html' | 'text';
/**
* @member {string} [content] The content of the body.
*/
content?: string;
/**
* @member {string} [textContent] The text content of the body after
* stripping HTML tags.
*/
textContent?: string;
};
export type { MessageBody };