appBskyContactSendNotification function

Future<XRPCResponse<EmptyData>> appBskyContactSendNotification({
  1. required String from,
  2. required String to,
  3. required ServiceContext $ctx,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

System endpoint to send notifications related to contact imports. Requires role authentication.

Implementation

Future<XRPCResponse<EmptyData>> appBskyContactSendNotification({
  required String from,
  required String to,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.appBskyContactSendNotification,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'from': from, 'to': to},
);