[WIP] music platform user data scraper
teal-fm atproto
at main 1.0 kB view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package chat 4 5// schema: chat.bsky.convo.updateAllRead 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// ConvoUpdateAllRead_Input is the input argument to a chat.bsky.convo.updateAllRead call. 14type ConvoUpdateAllRead_Input struct { 15 Status *string `json:"status,omitempty" cborgen:"status,omitempty"` 16} 17 18// ConvoUpdateAllRead_Output is the output of a chat.bsky.convo.updateAllRead call. 19type ConvoUpdateAllRead_Output struct { 20 // updatedCount: The count of updated convos. 21 UpdatedCount int64 `json:"updatedCount" cborgen:"updatedCount"` 22} 23 24// ConvoUpdateAllRead calls the XRPC method "chat.bsky.convo.updateAllRead". 25func ConvoUpdateAllRead(ctx context.Context, c *xrpc.Client, input *ConvoUpdateAllRead_Input) (*ConvoUpdateAllRead_Output, error) { 26 var out ConvoUpdateAllRead_Output 27 if err := c.Do(ctx, xrpc.Procedure, "application/json", "chat.bsky.convo.updateAllRead", nil, input, &out); err != nil { 28 return nil, err 29 } 30 31 return &out, nil 32}