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

package atproto

// schema: com.atproto.temp.requestPhoneVerification

import (
	"context"

	"github.com/bluesky-social/indigo/xrpc"
)

// TempRequestPhoneVerification_Input is the input argument to a com.atproto.temp.requestPhoneVerification call.
type TempRequestPhoneVerification_Input struct {
	PhoneNumber string `json:"phoneNumber" cborgen:"phoneNumber"`
}

// TempRequestPhoneVerification calls the XRPC method "com.atproto.temp.requestPhoneVerification".
func TempRequestPhoneVerification(ctx context.Context, c *xrpc.Client, input *TempRequestPhoneVerification_Input) error {
	if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.temp.requestPhoneVerification", nil, input, nil); err != nil {
		return err
	}

	return nil
}
