Commit Graph

3 Commits

Author SHA1 Message Date
Yeuoly 1004fa255c Fix duplicate labels in Telegram trigger events
- Renamed "Message Received" to more specific labels:
  - message_edited.yaml → "Message Edited"
  - business_message_received.yaml → "Business Message Received"
  - business_message_edited.yaml → "Business Message Edited"
  - channel_post_created.yaml → "Channel Post Created"
  - channel_post_edited.yaml → "Channel Post Edited"

Now all event labels are unique and clearly describe their specific purpose.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 18:39:37 +08:00
Yeuoly 10da6e6cfa Refactor Telegram trigger events to follow consistent pattern
- Applied chat_boost event pattern to all 20 Telegram event handlers
- All event classes now inherit from both TelegramUpdateEvent and Event
- Preserved custom _build_variables implementations where present (e.g., message_received.py)
- Simple events now follow the minimal pattern with just update_key defined

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 17:53:58 +08:00
Yeuoly 242e58790c plugin example: telegram (#219)
* chore: switch telegram trigger icon to svg

* fix: inline telegram trigger schemas

* chore: expand telegram trigger schemas
2025-10-17 17:16:01 +08:00