mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 18:35:29 -04:00
10da6e6cfa
- 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>
12 lines
266 B
Python
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"
|