leaveConvo method

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

Implementation

Future<XRPCResponse<LeaveConvoOutput>> leaveConvo({
  required String convoId,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  PostClient? $client,
}) async =>
    await _ctx.post<LeaveConvoOutput>(
      ns.chatBskyConvoLeaveConvo,
      headers: $headers,
      body: {
        'convoId': convoId,
        ...?$unknown,
      },
      to: const LeaveConvoOutputConverter().fromJson,
      client: $client,
    );