twitter-api-v2
Version:
Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
34 lines (33 loc) • 926 B
TypeScript
import { UserEntitiesV1 } from './entities.v1.types';
export interface UserV1 {
id_str: string;
id: number;
name: string;
screen_name: string;
location: string;
derived?: any;
url: string | null;
description: string | null;
protected: boolean;
verified: boolean;
followers_count: number;
friends_count: number;
listed_count: number;
favourites_count: number;
statuses_count: number;
created_at: string;
profile_banner_url: string;
profile_image_url_https: string;
default_profile: boolean;
default_profile_image: boolean;
withheld_in_countries: string[];
withheld_scope: string;
entities?: UserEntitiesV1;
/** Only on account/verify_credentials with include_email: true */
email?: string;
}
export interface VerifyCredentialsV1Params {
include_entities?: boolean;
skip_status?: boolean;
include_email?: boolean;
}