Files
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

12 lines
266 B
Python

from __future__ import annotations
from dify_plugin.interfaces.trigger import Event
from ..base import TelegramUpdateEvent
class MessageEditedEvent(TelegramUpdateEvent, Event):
"""Expose Telegram edited message updates."""
update_key = "edited_message"