1.2.0 • Published 10 years ago
hubot-telegram-bot v1.2.0
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-botNow, run Hubot with the telegram-bot adapter:
./bin/hubot -a telegram-botConfiguration
| 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 |