@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
21 lines (18 loc) • 802 B
text/typescript
import { MessageUser } from './message-user.mjs';
/**
* The type of emoji reaction that can be applied to a message.
* Possible values include: 'like', 'heart', '1f440_eyes', '2705_whiteheavycheckmark', 'launch', '1f4cc_pushpin'
*/
type MessageReactionType = 'like' | 'heart' | '1f440_eyes' | '2705_whiteheavycheckmark' | 'launch' | '1f4cc_pushpin' | (string & {});
/**
* Represents a reaction on a message, including the reaction type, timestamp, and user.
*/
type MessageReaction = {
/** The emoji reaction type applied to the message. */
type: MessageReactionType;
/** Timestamp of when the user reacted to the message. */
createdDateTime?: string;
/** The user who applied the reaction. */
user?: MessageUser;
};
export type { MessageReaction, MessageReactionType };