// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package atproto

// schema: com.atproto.temp.addReservedHandle

import (
	"context"

	"github.com/bluesky-social/indigo/lex/util"
)

// TempAddReservedHandle_Input is the input argument to a com.atproto.temp.addReservedHandle call.
type TempAddReservedHandle_Input struct {
	Handle string `json:"handle" cborgen:"handle"`
}

// TempAddReservedHandle_Output is the output of a com.atproto.temp.addReservedHandle call.
type TempAddReservedHandle_Output struct {
}

// TempAddReservedHandle calls the XRPC method "com.atproto.temp.addReservedHandle".
func TempAddReservedHandle(ctx context.Context, c util.LexClient, input *TempAddReservedHandle_Input) (*TempAddReservedHandle_Output, error) {
	var out TempAddReservedHandle_Output
	if err := c.LexDo(ctx, util.Procedure, "application/json", "com.atproto.temp.addReservedHandle", nil, input, &out); err != nil {
		return nil, err
	}

	return &out, nil
}
