updateRead method

Future<XRPCResponse<UpdateReadOutput>> updateRead({
  1. required String convoId,
  2. String? messageId,
  3. Map<String, String>? $unknown,
  4. Map<String, String>? $headers,
  5. PostClient? $client,
})

Implementation

Future<XRPCResponse<UpdateReadOutput>> updateRead({
  required String convoId,
  String? messageId,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  PostClient? $client,
}) async =>
    await _ctx.post<UpdateReadOutput>(
      ns.chatBskyConvoUpdateRead,
      headers: $headers,
      body: {
        'convoId': convoId,
        if (messageId != null) 'messageId': messageId,
        ...?$unknown,
      },
      to: const UpdateReadOutputConverter().fromJson,
      client: $client,
    );