porting all github actions from bluesky-social/indigo to tangled CI
at main 853 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package atproto 4 5// schema: com.atproto.admin.getAccountInfos 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// AdminGetAccountInfos_Output is the output of a com.atproto.admin.getAccountInfos call. 14type AdminGetAccountInfos_Output struct { 15 Infos []*AdminDefs_AccountView `json:"infos" cborgen:"infos"` 16} 17 18// AdminGetAccountInfos calls the XRPC method "com.atproto.admin.getAccountInfos". 19func AdminGetAccountInfos(ctx context.Context, c util.LexClient, dids []string) (*AdminGetAccountInfos_Output, error) { 20 var out AdminGetAccountInfos_Output 21 22 params := map[string]interface{}{} 23 params["dids"] = dids 24 if err := c.LexDo(ctx, util.Query, "", "com.atproto.admin.getAccountInfos", params, nil, &out); err != nil { 25 return nil, err 26 } 27 28 return &out, nil 29}