chatBskyConvoUpdateRead function

Future<XRPCResponse<ConvoUpdateReadOutput>> chatBskyConvoUpdateRead({
  1. required String convoId,
  2. String? messageId,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<ConvoUpdateReadOutput>> chatBskyConvoUpdateRead({
  required String convoId,
  String? messageId,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.chatBskyConvoUpdateRead,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {
    ...?$unknown,
    'convoId': convoId,
    if (messageId != null) 'messageId': messageId,
  },
  to: const ConvoUpdateReadOutputConverter().fromJson,
);