AMQP Telegram Bot for the win. Use it with caution and care!
git clone https://github.com/maprox/telegrembo.git
cd telegrembo
npm install
TOKEN=YOUR_TELEGRAM_BOT_TOKEN node .
-
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
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!"
}