umbot
Version:
Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber
15 lines (14 loc) • 667 B
TypeScript
import { TemplateTypeModel } from '../platforms';
import { Bot } from './Bot';
export type TUserBotConfigCb = (query: string, userId: string, count: number) => any;
export interface IBotTestParams {
isShowResult?: boolean;
isShowStorage?: boolean;
isShowTime?: boolean;
userBotClass?: TemplateTypeModel | null;
userBotConfig?: TUserBotConfigCb | null;
}
export declare class BotTest extends Bot {
test({ isShowResult, isShowStorage, isShowTime, userBotClass, userBotConfig, }?: IBotTestParams): Promise<void>;
protected getSkillContent(query: string, count: number, state: object | string, userBotConfig?: TUserBotConfigCb | null): any;
}