appBskyGraphMuteThread function

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

Mutes a thread preventing notifications from the thread and any of its children. Mutes are private in Bluesky. Requires auth.

Implementation

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