UNPKG

@botonic/react

Version:

Build Chatbots using React

31 lines (30 loc) 757 B
export class BotonicInputTester { constructor(bot: any); bot: any; text(inp: any, session?: { user: { id: string; }; }, lastRoutePath?: string): Promise<any>; payload(inp: any, session?: { user: { id: string; }; }, lastRoutePath?: string): Promise<any>; path(inp: any, session?: { user: { id: string; }; }, lastRoutePath?: string): Promise<any>; } export class BotonicOutputTester { constructor(bot: any); bot: any; text(out: any, replies?: null): any; reply({ text, payload, path }: { text: any; payload?: null | undefined; path?: null | undefined; }): any; replies(...args: any[]): any[]; }