edit¶
- YouTubeNotifier.edit(*, channel_ids: str | Iterable[str] = None) Callable[[Callable[[Video], Coroutine[Any, Any, Any]]], Callable[[Video], Coroutine[Any, Any, Any]]]¶
A decorator to add a listener for when a video is edited. Alies for @listener(kind=NotificationKind.EDIT).
- Parameters:
channel_ids – The channel ID(s) to listen for. If not provided, the listener will be called for all channels.
- Returns:
The decorator function.