// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package bsky

// schema: app.bsky.graph.muteThread

import (
	"context"

	"github.com/bluesky-social/indigo/xrpc"
)

// GraphMuteThread_Input is the input argument to a app.bsky.graph.muteThread call.
type GraphMuteThread_Input struct {
	Root string `json:"root" cborgen:"root"`
}

// GraphMuteThread calls the XRPC method "app.bsky.graph.muteThread".
func GraphMuteThread(ctx context.Context, c *xrpc.Client, input *GraphMuteThread_Input) error {
	if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.graph.muteThread", nil, input, nil); err != nil {
		return err
	}

	return nil
}
