← Public packages
@kody/x
Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.
Files
import { unrepostTweet } from './client.ts'
import type { XTweetActionParams } from './client.ts'
/**
* Remove a repost or dry-run the action. Requires confirm: true.
* @example
* import unrepostTweet from 'kody:@kody/x/unrepost-tweet'
* const preview = await unrepostTweet({ id: '123', dryRun: true })
*/
export default async function unrepostTweetEntrypoint(params: XTweetActionParams) {
return await unrepostTweet(params)
}