Skip to content
← Public packages

@kody/x

Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.

FollowFork

Files

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)
}