x-api-sdk-ts
Version:
TypeScript Library for the X (ex-twitter) API V2
8 lines (7 loc) • 522 B
TypeScript
import { AbstractUsers } from "../interfaces/api/IUsers";
import type { ExpansionUser } from "../types/x-api/users/get_me_query";
import type { IGetMeResponse } from "../types/x-api/users/get_me_response";
import type { UserField, TweetField } from "../types/x-api/shared";
export declare class Users extends AbstractUsers {
getMe(userFields?: UserField[], expansions?: ExpansionUser[], tweetFields?: TweetField[]): Promise<import("..").RCResponse<IGetMeResponse, string | import("..").IXError | null | undefined>>;
}