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

package bsky

// schema: app.bsky.bookmark.createBookmark

import (
	"context"

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

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

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

	return nil
}
