UNPKG

@rocket.chat/apps-engine

Version:

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

12 lines (11 loc) 581 B
import type { AppSlashCommandManager } from '../managers'; import type { ISlashCommandsModify } from '../../definition/accessors'; import type { ISlashCommand } from '../../definition/slashcommands'; export declare class SlashCommandsModify implements ISlashCommandsModify { private readonly manager; private readonly appId; constructor(manager: AppSlashCommandManager, appId: string); modifySlashCommand(slashCommand: ISlashCommand): Promise<void>; disableSlashCommand(command: string): Promise<void>; enableSlashCommand(command: string): Promise<void>; }