/telegram-node

Basic starter template to create a Telegram Bot using Node.js

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

CircleCI Telegram CI

Telegram bot boilerplate

Basic boilerplate to create a Telegram Bot using Node.js + TypeScript

How to use

You need to create a bot with @botfather, then you'll get a TOKEN.

Create a file named .env in the root of this project, then add this line:

TELEGRAM_TOKEN=XXXXXXXXXXXXX

Install dependencies:

$ yarn

Running the bot:

$ yarn start

Just build:

$ yarn build

Contribution?

You are welcome! Feel free to fork and to make a pull request against this repository.

But remember, this is not a complex project, it's a starter template.