@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
30 lines (27 loc) • 724 B
text/typescript
import { MessageFrom } from './message-from.mjs';
import './message-app.mjs';
import './message-conversation.mjs';
import './message-user.mjs';
/**
*
* An interface representing MessageActionsPayloadMention.
* Represents the entity that was mentioned in the message.
*
*/
type MessageMention = {
/**
* @member {number} [id] The id of the mentioned entity.
*/
id: number;
/**
* @member {string} [mentionText] The plaintext display name of the mentioned
* entity.
*/
mentionText?: string;
/**
* @member {MessageActionsPayloadFrom} [mentioned] Provides more details on
* the mentioned entity.
*/
mentioned?: MessageFrom;
};
export type { MessageMention };