Skip to content

Releases: lovedheart/dsh-plugin-telegram

v0.1.0 — Initial Release

Choose a tag to compare

@lovedheart lovedheart released this 14 Aug 05:27

What's New

Features

  • Full Telegram Bot API client with long-polling support
  • 6 tools registered: telegram_send_message, telegram_send_photo, telegram_send_document, telegram_edit_message, telegram_delete_message, telegram_get_info
  • Agent integration: inject Telegram messages into DSH agent loop for AI-powered conversations
  • Automatic reconnection with exponential backoff for network and API errors
  • Rate limit handling compliant with Telegram API
  • Message chunking for content exceeding Telegram's 4096-char limit
  • Markdown to Telegram HTML conversion
  • Multi-source bot token resolution: config → env → DSH credentials → file fallback
  • Access control via allowedChats, allowedUsers, and requireMention
  • Verbose logging toggle (default: errors only)

Known Limitations

  • Single-agent assumption: messages are injected into agents.list()[0]
  • Agent may not always call telegram_send_message tool; model function-calling support varies
  • Config.validate does not check for unknown keys (only validates known types)