Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 370 Bytes

File metadata and controls

21 lines (13 loc) · 370 Bytes
description Modern alternatives to the node-telegram-bot-api package

Replacements for node-telegram-bot-api

grammy

grammy is a modern library for creating telegram bots.

Example:

import { Bot } from 'grammy'

const bot = new Bot(process.env.TOKEN)

bot.on('message', (ctx) => ctx.reply('Hi there!'))

bot.start()