any¶
- YouTubeNotifier.any(*, channel_ids: str | Iterable[str] | None = None) Callable[[Callable[[Video], Coroutine[Any, Any, Any]]], Callable[[Video], Coroutine[Any, Any, Any]]]¶
Decorate the function to add a listener for any kind of push notification. Alias for @listener(kind=NotificationKind.ANY).
- 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.