fork of indigo with slightly nicer lexgen
at main 676 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package bsky 4 5// schema: app.bsky.graph.muteThread 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// GraphMuteThread_Input is the input argument to a app.bsky.graph.muteThread call. 14type GraphMuteThread_Input struct { 15 Root string `json:"root" cborgen:"root"` 16} 17 18// GraphMuteThread calls the XRPC method "app.bsky.graph.muteThread". 19func GraphMuteThread(ctx context.Context, c util.LexClient, input *GraphMuteThread_Input) error { 20 if err := c.LexDo(ctx, util.Procedure, "application/json", "app.bsky.graph.muteThread", nil, input, nil); err != nil { 21 return err 22 } 23 24 return nil 25}