Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

ai-mini-box-telegram

Telegram integration for ai-mini-box — poll/daemon commands via Bot API

Published23 Jun 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

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:

FieldDefaultDescription
telegram_token—Bot token (required, encrypted)
telegram_allowed_chat_ids[]Restrict to specific chats (empty = all)
poll_interval30Seconds between polls in daemon mode

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ai-mini-box-core
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
ai-mini-box-core>=5.0.0runtime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
requests>=2.31runtime
pytest-mock
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
pytest-mock>=3; extra == "dev"runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
pytest>=8; extra == "dev"runtime

Distribution files

2 collected
ai_mini_box_telegram-0.1.0-py3-none-any.whl

bdist_wheel · 6.8 KB · Python py3

Source file
ai_mini_box_telegram-0.1.0.tar.gz

sdist · 4.28 KB · Python source

Source file

Repository

PENDING
kibertum/ai-mini-box

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:19 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:ea02028a03ab292e55c079c4ba27f639a135c523b1d41bce5cb02874f5b37532

Other collected versions

View all collected versions →