1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package bsky
4
5// schema: app.bsky.notification.updateSeen
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/xrpc"
11)
12
13// NotificationUpdateSeen_Input is the input argument to a app.bsky.notification.updateSeen call.
14type NotificationUpdateSeen_Input struct {
15 SeenAt string `json:"seenAt" cborgen:"seenAt"`
16}
17
18// NotificationUpdateSeen calls the XRPC method "app.bsky.notification.updateSeen".
19func NotificationUpdateSeen(ctx context.Context, c *xrpc.Client, input *NotificationUpdateSeen_Input) error {
20 if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.notification.updateSeen", nil, input, nil); err != nil {
21 return err
22 }
23
24 return nil
25}