@botonic/react
Version:
Build Chatbots using React
19 lines (18 loc) • 589 B
TypeScript
export class BotonicInputTester {
constructor(bot: any);
bot: any;
text(inp: any, session?: {}, lastRoutePath?: string): Promise<any>;
payload(inp: any, session?: {}, lastRoutePath?: string): Promise<any>;
path(inp: any, session?: {}, 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[];
}