@kody/x
src/delete-tweet.ts
12 lines · 433 B · TypeScriptimport { deleteTweet } from './client.ts'
import type { XDeleteTweetParams } from './client.ts'
/**
* Delete or dry-run deletion of an X post. Deletion requires confirm: true.
* @example
* import deleteTweet from 'kody:@kody/x/delete-tweet'
* const preview = await deleteTweet({ id: '123', dryRun: true })
*/
export default async function deleteTweetEntrypoint(params: XDeleteTweetParams) {
return await deleteTweet(params)
}