Socket
Socket
Sign inDemoInstall

hubot-telegrambot

Package Overview
Dependencies
48
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-telegrambot

Hubot adapter for Telegram Bot API


Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
1
Install size
3.76 MB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 26 Jun 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc