Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
Go
12345678910111213141516171819202122232425262728293031// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.knot.ban
import ( "context"
"github.com/bluesky-social/indigo/lex/util")
const ( KnotBanNSID = "sh.tangled.knot.ban")
// KnotBan_Input is the input argument to a sh.tangled.knot.ban call.type KnotBan_Input struct { // subject: DID of the account to block Subject string `json:"subject" cborgen:"subject"`}
// KnotBan calls the XRPC method "sh.tangled.knot.ban".func KnotBan(ctx context.Context, c util.LexClient, input *KnotBan_Input) error { if err := c.LexDo(ctx, util.Procedure, "application/json", "sh.tangled.knot.ban", nil, input, nil); err != nil { return err }
return nil}