piagent_
← ~/map

$ cat ~/map/pi-telegram-gateway.md

Pi Telegram Gateway

Telegram gateway on the official pi SDK — per-chat sessions, follow-up queueing, mid-flight steering, and cron jobs.

tools✓ Sep 8

Facts

repository
github.com/QadimilAwaly/pi-telegram-gateway ↗
GitHub Stars
★ 0
Forks
0
license
—
npm / mo
—
last push
Sep 24, 2026

## TL;DR

A Telegram gateway for pi built on the official SDK: per-chat persistent sessions, follow-up queueing when pi is busy, /steer mid-flight redirection, /cron scheduled autonomous jobs, and live throttled tool notifications.

## Key points

## FAQ

Q Can multiple people use one gateway?

Set ALLOWED_USERS in .env to restrict who can talk to the bot; every chat keeps its own persistent session and context.

Q How do I keep it running long-term?

npm run daemon starts it as an auto-restarting background process (with a Termux wake-lock on Android), and npm run status reports live health — the gateway also exposes a /health JSON endpoint on port 4080.

## References

## Related entries

## Guides

Last updated: Sep 8, 2026