porting all github actions from bluesky-social/indigo to tangled CI
at main 770 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package atproto 4 5// schema: com.atproto.identity.updateHandle 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// IdentityUpdateHandle_Input is the input argument to a com.atproto.identity.updateHandle call. 14type IdentityUpdateHandle_Input struct { 15 // handle: The new handle. 16 Handle string `json:"handle" cborgen:"handle"` 17} 18 19// IdentityUpdateHandle calls the XRPC method "com.atproto.identity.updateHandle". 20func IdentityUpdateHandle(ctx context.Context, c util.LexClient, input *IdentityUpdateHandle_Input) error { 21 if err := c.LexDo(ctx, util.Procedure, "application/json", "com.atproto.identity.updateHandle", nil, input, nil); err != nil { 22 return err 23 } 24 25 return nil 26}