fork of indigo with slightly nicer lexgen
at main 975 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package bsky 4 5// schema: app.bsky.feed.sendInteractions 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// FeedSendInteractions_Input is the input argument to a app.bsky.feed.sendInteractions call. 14type FeedSendInteractions_Input struct { 15 Interactions []*FeedDefs_Interaction `json:"interactions" cborgen:"interactions"` 16} 17 18// FeedSendInteractions_Output is the output of a app.bsky.feed.sendInteractions call. 19type FeedSendInteractions_Output struct { 20} 21 22// FeedSendInteractions calls the XRPC method "app.bsky.feed.sendInteractions". 23func FeedSendInteractions(ctx context.Context, c util.LexClient, input *FeedSendInteractions_Input) (*FeedSendInteractions_Output, error) { 24 var out FeedSendInteractions_Output 25 if err := c.LexDo(ctx, util.Procedure, "application/json", "app.bsky.feed.sendInteractions", nil, input, &out); err != nil { 26 return nil, err 27 } 28 29 return &out, nil 30}