1.0.3 • Published 1 year ago
@arthurka/tg-bot v1.0.3
tsconfig.json
{
"include": [
"node_modules/@arthurka/tg-bot/build/modules.d.ts",
],
"exclude": [
// no "node_modules",
],
}
.env
TG_BOT_API_KEY = <TG_BOT_API_KEY>
Usage
import { bot } from '@arthurka/tg-bot';
bot.on('message', (...params) => {
console.log(params);
});