appBskyGraphMuteActor function

Future<XRPCResponse<EmptyData>> appBskyGraphMuteActor({
  1. required String actor,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.

Implementation

Future<XRPCResponse<EmptyData>> appBskyGraphMuteActor({
  required String actor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.appBskyGraphMuteActor,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'actor': actor},
);