Files
Yeuoly 4058597f87 Codex/implement slack trigger in main.py (#220)
* Expand Slack trigger to full Events API catalog

* Remove Slack trigger subscription constructor

* Remove Slack event selection from subscription schema

* Use official Slack icon asset

* Stop reading Slack signing secret from constructor parameters

* chore: remove tead_id

* refactoring

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-17 17:37:17 +08:00

12 lines
264 B
Python

from __future__ import annotations
from dify_plugin.interfaces.trigger import Event
from .._catalog_event import CatalogSlackEvent
class FileChangeEvent(CatalogSlackEvent, Event):
"""Slack event handler for `file.change`."""
EVENT_KEY = "file_change"