Skip to main content

MeshAgent Telegram

Telegram account channel support for MeshAgent process agents.

This package exports TelegramChannel and create_channel(...) for use with a MeshAgent process channel shim.

Set TELEGRAM_API_ID, TELEGRAM_API_HASH, and TELEGRAM_BOT_TOKEN before starting the channel. The bot token comes from BotFather; users must start the bot or add it to a chat before Telegram will deliver messages to the channel.

Set MESHAGENT_TELEGRAM_ALLOWED_CHAT_IDS to a comma-separated chat ID allowlist to process and respond only in specific Telegram chats. Use Telethon's marked chat IDs, such as positive private chat IDs, negative group IDs, and -100... channel or supergroup IDs. Leave it empty to allow all chats.

Inbound Telegram media is downloaded with Telethon, uploaded to room storage under MESHAGENT_TELEGRAM_MEDIA_STORAGE_PREFIX, and passed to the agent as AgentFileContent. MESHAGENT_TELEGRAM_INBOUND_MEDIA_MAX_BYTES limits how large an inbound media file the channel will download. Agent file attachments are sent back through Telethon send_file; HTTP(S) URLs are sent as external media, and room:///... URLs are downloaded from room storage before upload.

Metadata

Release files for meshagent-telegram 0.45.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for meshagent-telegram 0.45.9
File Size Uploaded
meshagent_telegram-0.45.9.tar.gz 27.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for meshagent-telegram 0.45.9
File Interpreter ABI Platform
meshagent_telegram-0.45.9-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 kB

Release files / meshagent_telegram-0.45.9.tar.gz

Download URL meshagent_telegram-0.45.9.tar.gz
Size 27.1 kB
Tags Source
SHA-256 checksum
How to use checksums
39516d0753c0e031bec99ccdd7ae9ec0adda9d1064c93c0c00ceb08949a65b1b
BLAKE2b-256 checksum
How to use checksums
358c192e34e4b3e00525756ee5f75ff523507f48605c54e0c5b4e5e85572d6ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / meshagent_telegram-0.45.9-py3-none-any.whl

Download URL meshagent_telegram-0.45.9-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6b1e0b692105d73f0df26893836533a1c846613e1595f2f949eecef2612c26d
BLAKE2b-256 checksum
How to use checksums
9a2c66e2804ce8bdbb1c4fd1da744f455af56619f80c482337ca983b4a1a27ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.45.9 This release

2 release files

0.45.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page