x-api-sdk-ts
Version:
TypeScript Library for the X (ex-twitter) API V2
6 lines (5 loc) • 337 B
TypeScript
import { AbstractLikes } from "../interfaces/api/ILikes";
import type { ILikePostResponse } from "../types/x-api/likes/like_post_response";
export declare class Likes extends AbstractLikes {
add(userId: string, postId: string): Promise<import("..").RCResponse<ILikePostResponse, string | import("..").IXError | null | undefined>>;
}