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

51 lines (49 loc) • 1.13 kB
/** * Data for a quoted reply entity. */ type QuotedReplyData = { /** * ID of the message being quoted */ messageId: string; /** * ID of the sender of the quoted message */ senderId?: string | null; /** * display name of the sender of the quoted message */ senderName?: string | null; /** * preview text of the quoted message */ preview?: string | null; /** * timestamp of the quoted message (IC3 epoch value, e.g. "1772050244572"). * Populated on inbound; ignored on outbound. */ time?: string | null; /** * whether the quoted message has been deleted */ isReplyDeleted?: boolean; /** * whether the message reference has been validated */ validatedMessageReference?: boolean; }; /** * Entity containing quoted reply information. */ type QuotedReplyEntity = { readonly type: 'quotedReply'; /** * the quoted reply data */ quotedReply: QuotedReplyData; /** * other properties */ [key: string]: any; }; export type { QuotedReplyData, QuotedReplyEntity };