Telegram bot starter
Answers /start, /help and /id and repeats anything else sent to it in a private chat: the plumbing you would write first, with a clear place for your own commands. Telegram delivers every message to the app as an HTTPS request, so the bot can sleep while the chat is quiet and wake for the next message, which is what lets it run on the Free plan. It registers its own webhook on boot, checks a secret header on every update, and has a status page showing the webhook state and the last error. Add a token from @BotFather and redeploy.
The source
This template is an ordinary public repository. Read it, fork it, or open a pull request against it. Deploying pulls its default branch and builds it the same way velixir builds your own code.
velixirnet/template-telegram-botOnce it is live
The template is just a starting point. Clone it, edit it, then ship over the top with the CLI:
velixir deploy
Or push your copy to GitHub and connect it on the app's Deploys tab: every push ships a release, and each pull request gets a preview. Both run the same pipeline this template just went through.