hubot-telegram-bot

1.2.0 • Public • Published

hubot-telegram-bot

A Hubot adapter for Telegram Bots with zero external dependencies.

See src/telegram.coffee for full documentation.

Installation via NPM

npm install --save hubot-telegram-bot

Now, run Hubot with the telegram-bot adapter:

./bin/hubot -a telegram-bot

Configuration

Variable Default Description
TELEGRAM_BOT_TOKEN N/A Your bot's authorisation token. You can create one by messaging BotFather /newbot (Docs)
TELEGRAM_BOT_REFRESH 1500 The polling interval in seconds (i.e. how often should we fetch new messages from Telegram)
TELEGRAM_BOT_WEBHOOK false The webhook URL for incoming messages to be published by Telegram

Package Sidebar

Install

npm i hubot-telegram-bot

Weekly Downloads

1

Version

1.2.0

License

none

Last publish

Collaborators

  • mrsaints