Telegram bot hosting

Telegram bot hosting that never sleeps.

A Telegram bot has to answer when someone messages it, at 3 in the afternoon or 3 at night. Free tiers that sleep, functions with cold starts and laptops that close all show up as a bot that does not reply. A DenkOps slot keeps your bot running.

Try it free → Read the docs

Free: 1 project, no credit card. 5 project slots €39/month, €5 per extra slot.

Webhook or long polling, both work

  • Webhook. Telegram calls your bot's HTTPS URL for every update. DenkOps gives every project an HTTPS URL, so setWebhook points straight at it.
  • Long polling. Your bot keeps a connection open and asks Telegram for updates. That needs a process that never stops, which is exactly what a slot is.

What a bot usually needs

  • The bot token as a secret. Store BOT_TOKEN as an environment variable. Your coding agent can set it without the token ever being written into code or chat logs.
  • State between messages. Conversations, user settings and queues go on the durable /persist disk or the key-value store in @denkopsai/sdk, and survive redeploys.
  • Scheduled messages. Daily digests and reminders run as managed cron jobs from denkops.json.
  • Locked-down outbound traffic. Allow api.telegram.org and the APIs your bot calls; everything else is blocked by default.
  • Logs. When the bot stops answering, ask your agent to read the logs and fix it.

Pick your stack

The guides below are complete, deployable bots in each framework. If your bot also needs to be an assistant tool, combine it with an MCP server, see a Telegram bot plus MCP.

Deploy guides

FAQ

Can I host a Telegram bot for free?

Yes. One project is free with no credit card, and the slot is always on, so the bot does not fall asleep.

Should I use a webhook or long polling?

Either works on DenkOps. Webhooks are the usual choice because every project has an HTTPS URL; long polling works because the slot is a process that keeps running.

Where do I store the bot token?

As an environment variable on the project. It is available to your code and is not shown in logs or uploads.

Try it free →

Free: 1 project, no credit card. 5 project slots €39/month, €5 per extra slot.

View service status →Managed EU infrastructure