A fork of https://github.com/teal-fm/piper
at main 25 lines 820 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package atproto 4 5// schema: com.atproto.temp.requestPhoneVerification 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// TempRequestPhoneVerification_Input is the input argument to a com.atproto.temp.requestPhoneVerification call. 14type TempRequestPhoneVerification_Input struct { 15 PhoneNumber string `json:"phoneNumber" cborgen:"phoneNumber"` 16} 17 18// TempRequestPhoneVerification calls the XRPC method "com.atproto.temp.requestPhoneVerification". 19func TempRequestPhoneVerification(ctx context.Context, c *xrpc.Client, input *TempRequestPhoneVerification_Input) error { 20 if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.temp.requestPhoneVerification", nil, input, nil); err != nil { 21 return err 22 } 23 24 return nil 25}