muteConvo method

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

Implementation

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