Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at eli/too-many-keyframes 33 lines 1.2 kB view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3// Lexicon schema: place.stream.broadcast.getBroadcaster 4 5package streamplace 6 7import ( 8 "context" 9 10 lexutil "github.com/bluesky-social/indigo/lex/util" 11) 12 13// BroadcastGetBroadcaster_Output is the output of a place.stream.broadcast.getBroadcaster call. 14type BroadcastGetBroadcaster_Output struct { 15 // admins: Array of DIDs authorized as admins 16 Admins []string `json:"admins,omitempty" cborgen:"admins,omitempty"` 17 // broadcaster: DID of the Streamplace broadcaster to which this server belongs 18 Broadcaster string `json:"broadcaster" cborgen:"broadcaster"` 19 // server: DID of this particular Streamplace server 20 Server *string `json:"server,omitempty" cborgen:"server,omitempty"` 21} 22 23// BroadcastGetBroadcaster calls the XRPC method "place.stream.broadcast.getBroadcaster". 24func BroadcastGetBroadcaster(ctx context.Context, c lexutil.LexClient) (*BroadcastGetBroadcaster_Output, error) { 25 var out BroadcastGetBroadcaster_Output 26 27 params := map[string]interface{}{} 28 if err := c.LexDo(ctx, lexutil.Query, "", "place.stream.broadcast.getBroadcaster", params, nil, &out); err != nil { 29 return nil, err 30 } 31 32 return &out, nil 33}