Current collected state Current
Observed since 21 Oct, 11:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-mini-box-telegram
Telegram integration for ai-mini-box — poll/daemon commands via Bot API
Telegram Bot API integration for ai-mini-box. Receives messages via long polling and saves them to the database.
pip install ai-mini-box-telegram
Requires ai-mini-box-core>=5.0.0.
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]"
Fetch new messages and save them:
ai-mini-box telegram poll
# → Processed 3 new messages
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 |
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
ai-mini-box-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | ai-mini-box-core>=5.0.0 | runtime |
requestsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | requests>=2.31 | runtime |
pytest-mockEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pytest-mock>=3; extra == "dev" | runtime |
pytestEnvironment{
"extras": "",
"marker": "extra == \"dev\"",
"requires_python": ">=3.12",
"evaluation": "NOT_EVALUATED"
} | pytest>=8; extra == "dev" | runtime |
bdist_wheel · 6.8 KB · Python py3
sdist · 4.28 KB · Python source
Observed since 21 Oct, 11:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:ea02028a03ab292e55c079c4ba27f639a135c523b1d41bce5cb02874f5b37532