This is a simple Telegram bot and a web server. It listens for a POST request, which should contain a user token, a content type and a content itself, and some additional optional parameters. Then the bot looks up a user for the token, and sends them what they got.
Written by Ilya Zverev, published under ISC license.