notifyRecentlyAdded method

Future<void> notifyRecentlyAdded({
  1. required int ratingKey,
  2. int? notifierId,
})

Handler for notify_recently_added.

Send a recently added notification using Tautulli.

Required Parameters:

  • ratingKey: Identifier/rating key for the content that was added

Optional Parameters:

  • notifierId: The identifier of the notification agent. If not supplied, the notification will send on all enabled agents

Implementation

Future<void> notifyRecentlyAdded({
    required int ratingKey,
    int? notifierId,
}) async => _commandNotifyRecentlyAdded(_client, ratingKey: ratingKey, notifierId: notifierId);