This package has been deprecated

Author message:

package merged with hubot-telegram

hubot-telegrambot

0.0.2 • Public • Published

Hubot Telegram Bot API Adapter

Hubot adapter for interfacting with the Telegram Bot API

Installation

npm install --save hubot-telegrambot

Configuration

TELEGRAM_BOT_TOKEN

This token will be the bot ID generated for you by Telegram.

TELEGRAM_BOT_PRIVACY

When you have enabled Privacy Mode on your bot. You need to specify this variable as true. This will strip out the extra characters you have to provide so Hubot can correctly handle the message.

Usage

TELEGRAM_BOT_TOKEN=<BOT API TOKEN> TELEGRAM_BOT_PRIVACY=1 ./bin/hubot -a telegrambot

The adapter will poll for new messages every 2 seconds.

Package Sidebar

Install

npm i hubot-telegrambot

Weekly Downloads

4

Version

0.0.2

License

none

Last publish

Collaborators

  • arcturial