8000 starters/examples/telegram-bot at master · hmmhmmhm/starters · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

telegram-bot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

title Telegram Bot
description An ExpressJS server with a Telegram bot
tags
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.

0