This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
status.d.ts
45 lines (44 loc) · 1.45 KB
/
status.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import type { Coordinates } from './coordinates';
import type { Entities } from './entities';
import type { ExtendedEntities } from './extended_entities';
import type { Place } from './place';
import type { QuotedStatusPermalink } from './quoted_status_permalink';
import type { Scope } from './scope';
import type { TrimmedUser, User } from './user';
export interface Status {
contributors?: null;
coordinates?: Coordinates | null;
created_at: string;
current_user_retweet?: TrimmedUser;
display_text_range?: [number, number] | null;
entities: Entities;
extended_entities?: ExtendedEntities | null;
favorite_count: number;
favorited: boolean;
full_text: string;
id_str: string;
id: number;
in_reply_to_screen_name?: string | null;
in_reply_to_status_id_str?: string | null;
in_reply_to_status_id?: number | null;
in_reply_to_user_id_str?: string | null;
in_reply_to_user_id?: number | null;
is_quote_status: boolean;
lang?: string | null;
place?: Place | null;
possibly_sensitive?: boolean | null;
quoted_status_id_str?: string | null;
quoted_status_id?: number | null;
quoted_status_permalink?: QuotedStatusPermalink | null;
quoted_status?: Status | null;
retweet_count: number;
retweeted_status?: Status | null;
retweeted: boolean;
scopes?: Scope | null;
source: string;
truncated: boolean;
user: User;
withheld_copyright?: boolean | null;
withheld_in_countries?: string[] | null;
withheld_scope?: string | null;
}