upload

AsyncYouTubeNotifier.upload(*, 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 when a video is uploaded. Alies for @listener(kind=NotificationKind.UPLOAD).

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.