fork of indigo with slightly nicer lexgen
at main 670 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.muteActor 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// GraphMuteActor_Input is the input argument to a app.bsky.graph.muteActor call. 14type GraphMuteActor_Input struct { 15 Actor string `json:"actor" cborgen:"actor"` 16} 17 18// GraphMuteActor calls the XRPC method "app.bsky.graph.muteActor". 19func GraphMuteActor(ctx context.Context, c util.LexClient, input *GraphMuteActor_Input) error { 20 if err := c.LexDo(ctx, util.Procedure, "application/json", "app.bsky.graph.muteActor", nil, input, nil); err != nil { 21 return err 22 } 23 24 return nil 25}