// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.temp.notification.markEntityRead
import (
"context"
"github.com/bluesky-social/indigo/lex/util"
)
const (
TempNotificationMarkEntityReadNSID = "org.tangled.temp.notification.markEntityRead"
)
// TempNotificationMarkEntityRead_Input is the input argument to a org.tangled.temp.notification.markEntityRead call.
type TempNotificationMarkEntityRead_Input struct {
// entityAt: at-uri of the issue or pull whose notifications should be marked read.
EntityAt string `json:"entityAt" cborgen:"entityAt"`
}
// TempNotificationMarkEntityRead calls the XRPC method "org.tangled.temp.notification.markEntityRead".
func TempNotificationMarkEntityRead(ctx context.Context, c util.LexClient, input *TempNotificationMarkEntityRead_Input) error {
if err := c.LexDo(ctx, util.Procedure, "application/json", "org.tangled.temp.notification.markEntityRead", nil, input, nil); err != nil {
return err
}
return nil
}