// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. // Lexicon schema: tools.ozone.queue.assignModerator package ozone import ( "context" lexutil "github.com/bluesky-social/indigo/lex/util" ) // QueueAssignModerator_Input is the input argument to a tools.ozone.queue.assignModerator call. type QueueAssignModerator_Input struct { // did: DID to be assigned. Did string `json:"did" cborgen:"did"` // queueId: The ID of the queue to assign the user to. QueueId int64 `json:"queueId" cborgen:"queueId"` } // QueueAssignModerator calls the XRPC method "tools.ozone.queue.assignModerator". func QueueAssignModerator(ctx context.Context, c lexutil.LexClient, input *QueueAssignModerator_Input) (*QueueDefs_AssignmentView, error) { var out QueueDefs_AssignmentView if err := c.LexDo(ctx, lexutil.Procedure, "application/json", "tools.ozone.queue.assignModerator", nil, input, &out); err != nil { return nil, err } return &out, nil }