chatBskyConvoUpdateAllRead function

Future<XRPCResponse<ConvoUpdateAllReadOutput>> chatBskyConvoUpdateAllRead({
  1. ConvoUpdateAllReadStatus? status,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<ConvoUpdateAllReadOutput>> chatBskyConvoUpdateAllRead({
  ConvoUpdateAllReadStatus? status,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.chatBskyConvoUpdateAllRead,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, if (status != null) 'status': status.toJson()},
  to: const ConvoUpdateAllReadOutputConverter().fromJson,
);