A fork of https://github.com/teal-fm/piper
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package atproto
4
5// schema: com.atproto.temp.checkSignupQueue
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/xrpc"
11)
12
13// TempCheckSignupQueue_Output is the output of a com.atproto.temp.checkSignupQueue call.
14type TempCheckSignupQueue_Output struct {
15 Activated bool `json:"activated" cborgen:"activated"`
16 EstimatedTimeMs *int64 `json:"estimatedTimeMs,omitempty" cborgen:"estimatedTimeMs,omitempty"`
17 PlaceInQueue *int64 `json:"placeInQueue,omitempty" cborgen:"placeInQueue,omitempty"`
18}
19
20// TempCheckSignupQueue calls the XRPC method "com.atproto.temp.checkSignupQueue".
21func TempCheckSignupQueue(ctx context.Context, c *xrpc.Client) (*TempCheckSignupQueue_Output, error) {
22 var out TempCheckSignupQueue_Output
23 if err := c.Do(ctx, xrpc.Query, "", "com.atproto.temp.checkSignupQueue", nil, nil, &out); err != nil {
24 return nil, err
25 }
26
27 return &out, nil
28}