Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/x

src/remove-bookmark.ts

12 lines · 442 B · TypeScript
import { removeBookmark } from './client.ts'
import type { XTweetActionParams } from './client.ts'

/**
 * Remove a bookmark or dry-run the action. Requires confirm: true.
 * @example
 * import removeBookmark from 'kody:@kody/x/remove-bookmark'
 * const preview = await removeBookmark({ id: '123', dryRun: true })
 */
export default async function removeBookmarkEntrypoint(params: XTweetActionParams) {
	return await removeBookmark(params)
}