Telegram channel support for MeshAgent
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meshagent_telegram-0.44.22.tar.gz.
File metadata
- Download URL: meshagent_telegram-0.44.22.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b341194390519838565101acd3cd7481e5d98a79059204295e71b3b200d7c072
|
|
| MD5 |
f1357aa5d46e6abc382a72463aa4695d
|
|
| BLAKE2b-256 |
9b5861046bb1a960191b5e1ba6be9b91d869bf4a1bf07277592ab21adabe521f
|
File details
Details for the file meshagent_telegram-0.44.22-py3-none-any.whl.
File metadata
- Download URL: meshagent_telegram-0.44.22-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da4c824ff4c6ae9de413a751c8d935a1214e71294e0d1327a5229461b04a495f
|
|
| MD5 |
61aeabe8c47c14082ce72e393bb8f54a
|
|
| BLAKE2b-256 |
cd3cbe2b2a0350c7670b0c6bc353caf3d77f9413673aadf49b301f41f715efb1
|