// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. package tangled // schema: org.tangled.temp.spindle.moderation.ban import ( "context" "github.com/bluesky-social/indigo/lex/util" ) const ( TempSpindleModerationBanNSID = "org.tangled.temp.spindle.moderation.ban" ) // TempSpindleModerationBan_Input is the input argument to a org.tangled.temp.spindle.moderation.ban call. type TempSpindleModerationBan_Input struct { // did: DID of the repository or account owner to ban Did string `json:"did" cborgen:"did"` } // TempSpindleModerationBan calls the XRPC method "org.tangled.temp.spindle.moderation.ban". func TempSpindleModerationBan(ctx context.Context, c util.LexClient, input *TempSpindleModerationBan_Input) error { if err := c.LexDo(ctx, util.Procedure, "application/json", "org.tangled.temp.spindle.moderation.ban", nil, input, nil); err != nil { return err } return nil }