any¶
- AsyncYouTubeNotifier.any(*, channel_ids: str | Iterable[str] | None = None) Callable[[Callable[[Video | DeletedVideo], Awaitable[None]]], Callable[[Video | DeletedVideo], Awaitable[None]]]¶
Decorate the function to add a listener for any kind of push notification.
- 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.