chatBskyConvoUpdateRead function
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,
);