@kody/x
src/unrepost-tweet.ts
12 lines · 434 B · TypeScriptimport { 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)
}