notify method
Handler for notify.
Send a notification using Tautulli.
Required Parameters:
notifierId
: The notifier identifiersubject
: The subject of the messagebody
: The body of the message
Optional Parameters:
headers
: The JSON headers for webhook notificationsscriptArgs
: The arguments for script notifications
Implementation
Future<void> notify({
required int notifierId,
required String subject,
required String body,
String? headers,
String? scriptArgs,
}) async => _commandNotify(_client, notifierId: notifierId, subject: subject, body: body, headers: headers, scriptArgs: scriptArgs);