Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/x

src/unlike-tweet.ts

12 lines · 421 B · TypeScript
import { 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)
}