this repo has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3// Lexicon schema: com.atproto.server.requestEmailUpdate
4
5package atproto
6
7import (
8 "context"
9
10 lexutil "github.com/bluesky-social/indigo/lex/util"
11)
12
13// ServerRequestEmailUpdate_Output is the output of a com.atproto.server.requestEmailUpdate call.
14type ServerRequestEmailUpdate_Output struct {
15 TokenRequired bool `json:"tokenRequired" cborgen:"tokenRequired"`
16}
17
18// ServerRequestEmailUpdate calls the XRPC method "com.atproto.server.requestEmailUpdate".
19func ServerRequestEmailUpdate(ctx context.Context, c lexutil.LexClient) (*ServerRequestEmailUpdate_Output, error) {
20 var out ServerRequestEmailUpdate_Output
21 if err := c.LexDo(ctx, lexutil.Procedure, "", "com.atproto.server.requestEmailUpdate", nil, nil, &out); err != nil {
22 return nil, err
23 }
24
25 return &out, nil
26}