vk-chat-bot
Version:
Package for easy creation of chat bots for VK communities (uses Callback API).
30 lines (29 loc) • 675 B
TypeScript
import Bot from './bot';
import Core from './core';
import API from './api/api';
import Context from './api/context';
import * as kbd from './api/keyboard';
import * as log from './extra/log';
import Stats from './extra/stats';
declare function bot(options: {
vkToken: string;
confirmationToken: string;
groupId: string | number;
secret: string;
port: string | number;
cmdPrefix: string;
}): {
bot: Bot;
core: Core;
};
declare const vk: {
bot: typeof bot;
Bot: typeof Bot;
Core: typeof Core;
API: typeof API;
Context: typeof Context;
kbd: typeof kbd;
log: typeof log;
Stats: typeof Stats;
};
export default vk;