twitter-api-client
Version:
Node.js / JavaScript client for Twitter API
98 lines (97 loc) • 2.43 kB
TypeScript
export default interface MutesUsersList {
users: User[];
next_cursor: number;
next_cursor_str: string;
previous_cursor: number;
previous_cursor_str: string;
total_count?: any;
}
export interface User {
id: number;
id_str: string;
name: string;
screen_name: string;
location: string;
description: string;
url: string;
entities: Entities;
protected: boolean;
followers_count: number;
friends_count: number;
listed_count: number;
created_at: string;
favourites_count: number;
utc_offset?: any;
time_zone?: any;
geo_enabled: boolean;
verified: boolean;
statuses_count: number;
lang: string;
status: Status;
contributors_enabled: boolean;
is_translator: boolean;
is_translation_enabled?: any;
profile_background_color: string;
profile_background_image_url: string;
profile_background_image_url_https: string;
profile_background_tile?: any;
profile_image_url: string;
profile_image_url_https: string;
profile_banner_url: string;
profile_link_color: string;
profile_sidebar_border_color: string;
profile_sidebar_fill_color: string;
profile_text_color: string;
profile_use_background_image?: any;
has_extended_profile?: any;
default_profile: boolean;
default_profile_image: boolean;
following: boolean;
follow_request_sent: boolean;
notifications: boolean;
translator_type: string;
}
export interface Status {
created_at: string;
id: number;
id_str: string;
text: string;
truncated: boolean;
entities: Entities2;
source: string;
in_reply_to_status_id: number;
in_reply_to_status_id_str: string;
in_reply_to_user_id: number;
in_reply_to_user_id_str: string;
in_reply_to_screen_name: string;
geo?: any;
coordinates?: any;
place?: any;
contributors?: any;
is_quote_status: boolean;
retweet_count: number;
favorite_count: number;
favorited: boolean;
retweeted: boolean;
possibly_sensitive: boolean;
lang: string;
}
export interface Entities2 {
hashtags: any[];
symbols: any[];
user_mentions: any[];
urls: Url[];
}
export interface Entities {
url: Url2;
description: Url2;
}
export interface Url2 {
urls: Url[];
}
export interface Url {
url: string;
expanded_url: string;
display_url: string;
indices: number[];
}