UNPKG

@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) • 720 B
import { MessageFrom } from './message-from.js'; import './message-app.js'; import './message-conversation.js'; import './message-user.js'; /** * * 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 };