0.1.12 • Published 5 years ago

tgboter v0.1.12

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

tgboter.js

Telegram bot framework.

Bots are special Telegram accounts designed to handle messages automatically. Users can interact with bots by sending them command messages in private or group chats. These accounts serve as an interface for code running somewhere on your server.

Bot API Version js-standard-style

Features

Installation

$ npm i tgboter --save

Examples

const TGBoter = require('tgboter')

const bot = new TGBoter(process.env.BOT_TOKEN)

bot.start((ctx) => ctx.reply('welcome in the bot'))
bot.hears('hello', (ctx) => ctx.reply('hello here'))

bot.launch()

🌐 Source : Telegraf

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago