Files
Nisarga Adhikary 589995cf1b Change index.js to index.ts (#233)
There is index.ts in src directory not index.ts
2022-01-28 16:11:25 +04:00
..
2021-03-04 13:37:42 -08:00
2021-03-04 13:37:42 -08:00
2021-03-04 13:37:42 -08:00
2022-01-28 16:11:25 +04:00
2021-03-04 13:37:42 -08:00

title, description, tags
title description tags
Telegram Bot An ExpressJS server with a Telegram bot
express
telegraf
typescript

Telegram bot example

This example starts a Telegram bot on an ExpressJS server.

Deploy on Railway

Features

  • Telegraf (library to interact with the Telegram bot API)
  • Express
  • TypeScript

💁‍♀️ How to use

  • Install dependencies yarn
  • Connect to your Railway project railway link
  • Start the development server railway run yarn dev

📝 Notes

The server started launches a Telegram bot with a couple of basic commands. The code is located at src/index.ts.