UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

21 lines (20 loc) 450 B
import type { IMessage } from '.'; import type { IUser } from '../users'; /** * The context of execution for the following events: * - IPostMessageStarred */ export interface IMessageStarContext { /** * The message that was starred or unstarred */ message: IMessage; /** * The user who starred the message */ user: IUser; /** * If the message was starred or unstarred */ isStarred: boolean; }