appBskyNotificationUnregisterPush function
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>> appBskyNotificationUnregisterPush({
required String serviceDid,
required String token,
required NotificationUnregisterPushPlatform platform,
required String appId,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.appBskyNotificationUnregisterPush,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'serviceDid': serviceDid,
'token': token,
'platform': platform.toJson(),
'appId': appId,
},
);