unregisterPush method

Future<XRPCResponse<EmptyData>> unregisterPush({
  1. required String serviceDid,
  2. required String token,
  3. required NotificationUnregisterPushPlatform platform,
  4. required String appId,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth.

Implementation

Future<XRPCResponse<EmptyData>> unregisterPush({
  required String serviceDid,
  required String token,
  required NotificationUnregisterPushPlatform platform,
  required String appId,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await appBskyNotificationUnregisterPush(
  serviceDid: serviceDid,
  token: token,
  platform: platform,
  appId: appId,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);