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) 457 B
import type { IMessage } from '.'; import type { IUser } from '../users'; /** * The context of execution for the following events: * - IPostMessageFollowed */ export interface IMessageFollowContext { /** * The message that was followed or unfollowed */ message: IMessage; /** * The user who follow the message */ user: IUser; /** * If the message was followed or unfollowed */ isFollowed: boolean; }