// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package bsky

// schema: app.bsky.bookmark.deleteBookmark

import (
	"context"

	"github.com/bluesky-social/indigo/lex/util"
)

// BookmarkDeleteBookmark_Input is the input argument to a app.bsky.bookmark.deleteBookmark call.
type BookmarkDeleteBookmark_Input struct {
	Uri string `json:"uri" cborgen:"uri"`
}

// BookmarkDeleteBookmark calls the XRPC method "app.bsky.bookmark.deleteBookmark".
func BookmarkDeleteBookmark(ctx context.Context, c util.LexClient, input *BookmarkDeleteBookmark_Input) error {
	if err := c.LexDo(ctx, util.Procedure, "application/json", "app.bsky.bookmark.deleteBookmark", nil, input, nil); err != nil {
		return err
	}

	return nil
}
