@arthurka/tg-bot
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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);
});

/@arthurka/tg-bot/

    Package Sidebar

    Install

    npm i @arthurka/tg-bot

    Weekly Downloads

    3

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    2.67 kB

    Total Files

    5

    Last publish

    Collaborators

    • arthurka