@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
10 lines (9 loc) • 492 B
TypeScript
import type { AppSlashCommandManager } from '../managers/AppSlashCommandManager';
import type { ISlashCommandsExtend } from '../../definition/accessors';
import type { ISlashCommand } from '../../definition/slashcommands';
export declare class SlashCommandsExtend implements ISlashCommandsExtend {
private readonly manager;
private readonly appId;
constructor(manager: AppSlashCommandManager, appId: string);
provideSlashCommand(slashCommand: ISlashCommand): Promise<void>;
}