@kody/x
src/unlike-tweet.ts
12 lines · 421 B · TypeScriptimport { unlikeTweet } from './client.ts'
import type { XTweetActionParams } from './client.ts'
/**
* Unlike or dry-run unliking an X post. Requires confirm: true.
* @example
* import unlikeTweet from 'kody:@kody/x/unlike-tweet'
* const preview = await unlikeTweet({ id: '123', dryRun: true })
*/
export default async function unlikeTweetEntrypoint(params: XTweetActionParams) {
return await unlikeTweet(params)
}