Sign inSign up

maprox/telegrembo

By maprox

•Updated 12 months ago

AMQP Telegram Bot for the Maprox platform

Image
0

450

maprox/telegrembo repository overview

⁠The Almighty Telegrembo

AMQP Telegram Bot for the win. Use it with caution and care!

⁠Requirements

⁠Installation

git clone https://github.com/maprox/telegrembo.git
cd telegrembo
npm install

⁠Run

TOKEN=YOUR_TELEGRAM_BOT_TOKEN node .
⁠Options
  • TOKEN ( required ) - Telegram bot token which you got from @BotFather⁠

  • AMQP_CONNECTION [amqp://guest:[email protected]//] - AMQP connection string

  • AMQP_EXCHANGE [telegram] - exchange name in AMQP server. Telegrembo listens for messages in a queue bound to this exchange

  • AMQP_QUEUE_NAME [telegram] - AMQP queue name to listen for messages

  • AMQP_QUEUE_ROUTING_KEY [telegram] - Routing key for the queue

⁠Description

Telegrembo is a simple bot which listens for a message in an AMQP queue and forwards it to the specified telegram channel.

Current version supports only text messages. AMQP message should be a simple json with two fields:

{
    "send_to": "3773839202",
    "message": "Hello Virtual World!"
}

forthebadge forthebadge

Tag summary

Content type

Image

Digest

sha256:be116fe09…

Size

396.9 MB

Last updated

12 months ago

docker pull maprox/telegrembo