ai-mini-box-telegram
Telegram Bot API integration for ai-mini-box. Receives messages via long polling and saves them to the database.
Installation
pip install ai-mini-box-telegram
Requires ai-mini-box-core>=5.0.0.
Setup
Set your Telegram bot token (get one from @BotFather):
ai-mini-box config set telegram_token "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
Optionally restrict which chats the bot processes:
ai-mini-box config set telegram_allowed_chat_ids "[123456789, 987654321]"
Usage
Poll once
Fetch new messages and save them:
ai-mini-box telegram poll
# → Processed 3 new messages
Run daemon
Continuous polling loop (Ctrl+C to stop):
ai-mini-box telegram daemon
Configuration fields used:
| Field | Default | Description |
|---|---|---|
telegram_token |
— | Bot token (required, encrypted) |
telegram_allowed_chat_ids |
[] |
Restrict to specific chats (empty = all) |
poll_interval |
30 |
Seconds between polls in daemon mode |
Metadata
Release files for ai-mini-box-telegram 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_mini_box_telegram-0.1.0.tar.gz | 4.4 kB | Without provenance | Details for ai_mini_box_telegram-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_mini_box_telegram-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ai_mini_box_telegram-0.1.0-py3-none-any.whl |
Total release size: 11.3 kB
Release files / ai_mini_box_telegram-0.1.0.tar.gz
| Download URL | ai_mini_box_telegram-0.1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2db2d9329d436d9dda821c2878084aaa38a4d35e301ac2c9b1446425bc5e2fbb
|
|
BLAKE2b-256 checksum How to use checksums |
8a81173d9bb40b7a6e09621e8b804f27a3859908fcf7879a674af2c70c70eb86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / ai_mini_box_telegram-0.1.0-py3-none-any.whl
| Download URL | ai_mini_box_telegram-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
917a9729f94b6843ba13f1259230f02964601d415a59c29efffcd6dcd3eb9880
|
|
BLAKE2b-256 checksum How to use checksums |
456b86b76ab9fea76115e9d4b5c082582a9255de239331491b979cac1fbd2155
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for ai-mini-box-telegram 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.