···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.notification.putPreferences
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// NotificationPutPreferences_Input is the input argument to a app.bsky.notification.putPreferences call.
1414+type NotificationPutPreferences_Input struct {
1515+ Priority bool `json:"priority" cborgen:"priority"`
1616+}
1717+1818+// NotificationPutPreferences calls the XRPC method "app.bsky.notification.putPreferences".
1919+func NotificationPutPreferences(ctx context.Context, c *xrpc.Client, input *NotificationPutPreferences_Input) error {
2020+ if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.notification.putPreferences", nil, input, nil); err != nil {
2121+ return err
2222+ }
2323+2424+ return nil
2525+}
+6-4
api/bsky/unspeccedgetSuggestionsSkeleton.go
···18181919// UnspeccedGetSuggestionsSkeleton calls the XRPC method "app.bsky.unspecced.getSuggestionsSkeleton".
2020//
2121+// relativeToDid: DID of the account to get suggestions relative to. If not provided, suggestions will be based on the viewer.
2122// viewer: DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.
2222-func UnspeccedGetSuggestionsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, viewer string) (*UnspeccedGetSuggestionsSkeleton_Output, error) {
2323+func UnspeccedGetSuggestionsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, relativeToDid string, viewer string) (*UnspeccedGetSuggestionsSkeleton_Output, error) {
2324 var out UnspeccedGetSuggestionsSkeleton_Output
24252526 params := map[string]interface{}{
2626- "cursor": cursor,
2727- "limit": limit,
2828- "viewer": viewer,
2727+ "cursor": cursor,
2828+ "limit": limit,
2929+ "relativeToDid": relativeToDid,
3030+ "viewer": viewer,
2931 }
3032 if err := c.Do(ctx, xrpc.Query, "", "app.bsky.unspecced.getSuggestionsSkeleton", params, nil, &out); err != nil {
3133 return nil, err
+6-3
api/chat/convodefs.go
···212212}
213213214214// ConvoDefs_MessageRef is a "messageRef" in the chat.bsky.convo.defs schema.
215215+//
216216+// RECORDTYPE: ConvoDefs_MessageRef
215217type ConvoDefs_MessageRef struct {
216216- ConvoId string `json:"convoId" cborgen:"convoId"`
217217- Did string `json:"did" cborgen:"did"`
218218- MessageId string `json:"messageId" cborgen:"messageId"`
218218+ LexiconTypeID string `json:"$type,const=chat.bsky.convo.defs#messageRef" cborgen:"$type,const=chat.bsky.convo.defs#messageRef"`
219219+ ConvoId string `json:"convoId" cborgen:"convoId"`
220220+ Did string `json:"did" cborgen:"did"`
221221+ MessageId string `json:"messageId" cborgen:"messageId"`
219222}
220223221224// ConvoDefs_MessageView is a "messageView" in the chat.bsky.convo.defs schema.