@book000/twitterts 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
- package/dist/generate-types/custom-types-generator.js +26 -26
- package/dist/generate-types/custom-types-generator.js.map +1 -1
- package/dist/generate-types/endpoint-type-generator.d.ts +1 -1
- package/dist/generate-types/endpoint-type-generator.d.ts.map +1 -1
- package/dist/generate-types/endpoint-type-generator.js +4 -3
- package/dist/generate-types/endpoint-type-generator.js.map +1 -1
- package/dist/generate-types/types-generator.d.ts.map +1 -1
- package/dist/generate-types/types-generator.js +9 -13
- package/dist/generate-types/types-generator.js.map +1 -1
- package/dist/generate-types/utils.d.ts +7 -0
- package/dist/generate-types/utils.d.ts.map +1 -1
- package/dist/generate-types/utils.js +34 -6
- package/dist/generate-types/utils.js.map +1 -1
- package/dist/generate-types.js +13 -3
- package/dist/generate-types.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models/exceptions.d.ts +12 -0
- package/dist/models/exceptions.d.ts.map +1 -1
- package/dist/models/exceptions.js +19 -1
- package/dist/models/exceptions.js.map +1 -1
- package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +181 -646
- package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +1156 -936
- package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +511 -634
- package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-tweet-object.d.ts +813 -1104
- package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-user-legacy-object.d.ts +3 -0
- package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts +39 -10
- package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +1318 -1400
- package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/endpoints.d.ts +9 -29
- package/dist/models/responses/endpoints.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +4 -0
- package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +1475 -1777
- package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts +1147 -1433
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/likes-success.d.ts +39 -10
- package/dist/models/responses/graphql/get/likes-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/search-timeline-success.d.ts +230 -1080
- package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +148 -207
- package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +7 -2
- package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/user-tweets-success.d.ts +2871 -2885
- package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts +17 -0
- package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts.map +1 -0
- package/dist/models/responses/graphql/get/users-verified-avatars-success.js +4 -0
- package/dist/models/responses/graphql/get/users-verified-avatars-success.js.map +1 -0
- package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +1234 -1699
- package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts +468 -769
- package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
- package/dist/options.d.ts +18 -0
- package/dist/options.d.ts.map +1 -1
- package/dist/parser/parser.test.js +3 -2
- package/dist/parser/parser.test.js.map +1 -1
- package/dist/scraper.d.ts +3 -3
- package/dist/scraper.d.ts.map +1 -1
- package/dist/scraper.js +79 -33
- package/dist/scraper.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/twitter.d.ts +14 -1
- package/dist/twitter.d.ts.map +1 -1
- package/dist/twitter.js +112 -0
- package/dist/twitter.js.map +1 -1
- package/dist/twitter.test.js +10 -0
- package/dist/twitter.test.js.map +1 -1
- package/package.json +2 -1
|
@@ -36,8 +36,6 @@ export interface CustomTimelineTweetEntry {
|
|
|
36
36
|
is_blue_verified: boolean;
|
|
37
37
|
profile_image_shape: string;
|
|
38
38
|
legacy: {
|
|
39
|
-
followed_by?: boolean;
|
|
40
|
-
following?: boolean;
|
|
41
39
|
can_dm: boolean;
|
|
42
40
|
can_media_tag: boolean;
|
|
43
41
|
created_at: string;
|
|
@@ -55,8 +53,8 @@ export interface CustomTimelineTweetEntry {
|
|
|
55
53
|
};
|
|
56
54
|
url?: {
|
|
57
55
|
urls: {
|
|
58
|
-
display_url
|
|
59
|
-
expanded_url
|
|
56
|
+
display_url?: string;
|
|
57
|
+
expanded_url?: string;
|
|
60
58
|
url: string;
|
|
61
59
|
indices: number[];
|
|
62
60
|
}[];
|
|
@@ -81,11 +79,14 @@ export interface CustomTimelineTweetEntry {
|
|
|
81
79
|
screen_name: string;
|
|
82
80
|
statuses_count: number;
|
|
83
81
|
translator_type: string;
|
|
82
|
+
url?: string;
|
|
84
83
|
verified: boolean;
|
|
85
84
|
want_retweets: boolean;
|
|
86
85
|
withheld_in_countries: unknown[];
|
|
87
|
-
|
|
86
|
+
following?: boolean;
|
|
87
|
+
followed_by?: boolean;
|
|
88
88
|
verified_type?: string;
|
|
89
|
+
needs_phone_verification?: boolean;
|
|
89
90
|
};
|
|
90
91
|
professional?: {
|
|
91
92
|
rest_id: string;
|
|
@@ -97,6 +98,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
97
98
|
}[];
|
|
98
99
|
};
|
|
99
100
|
super_follow_eligible?: boolean;
|
|
101
|
+
has_nft_avatar?: boolean;
|
|
100
102
|
};
|
|
101
103
|
};
|
|
102
104
|
};
|
|
@@ -113,14 +115,10 @@ export interface CustomTimelineTweetEntry {
|
|
|
113
115
|
edits_remaining: string;
|
|
114
116
|
};
|
|
115
117
|
};
|
|
116
|
-
edit_perspective?: {
|
|
117
|
-
favorited: boolean;
|
|
118
|
-
retweeted: boolean;
|
|
119
|
-
};
|
|
120
118
|
is_translatable?: boolean;
|
|
121
119
|
views?: {
|
|
122
|
-
state: string;
|
|
123
120
|
count?: string;
|
|
121
|
+
state: string;
|
|
124
122
|
};
|
|
125
123
|
source?: string;
|
|
126
124
|
legacy?: {
|
|
@@ -130,6 +128,91 @@ export interface CustomTimelineTweetEntry {
|
|
|
130
128
|
conversation_id_str: string;
|
|
131
129
|
display_text_range: number[];
|
|
132
130
|
entities: {
|
|
131
|
+
media?: {
|
|
132
|
+
display_url: string;
|
|
133
|
+
expanded_url: string;
|
|
134
|
+
id_str: string;
|
|
135
|
+
indices: number[];
|
|
136
|
+
media_url_https: string;
|
|
137
|
+
source_status_id_str?: string;
|
|
138
|
+
source_user_id_str?: string;
|
|
139
|
+
type: string;
|
|
140
|
+
url: string;
|
|
141
|
+
features: {
|
|
142
|
+
large?: {
|
|
143
|
+
faces: {
|
|
144
|
+
x: number;
|
|
145
|
+
y: number;
|
|
146
|
+
h: number;
|
|
147
|
+
w: number;
|
|
148
|
+
}[];
|
|
149
|
+
};
|
|
150
|
+
medium?: {
|
|
151
|
+
faces: {
|
|
152
|
+
x: number;
|
|
153
|
+
y: number;
|
|
154
|
+
h: number;
|
|
155
|
+
w: number;
|
|
156
|
+
}[];
|
|
157
|
+
};
|
|
158
|
+
small?: {
|
|
159
|
+
faces: {
|
|
160
|
+
x: number;
|
|
161
|
+
y: number;
|
|
162
|
+
h: number;
|
|
163
|
+
w: number;
|
|
164
|
+
}[];
|
|
165
|
+
};
|
|
166
|
+
orig?: {
|
|
167
|
+
faces: {
|
|
168
|
+
x: number;
|
|
169
|
+
y: number;
|
|
170
|
+
h: number;
|
|
171
|
+
w: number;
|
|
172
|
+
}[];
|
|
173
|
+
};
|
|
174
|
+
all?: {
|
|
175
|
+
tags: {
|
|
176
|
+
user_id: string;
|
|
177
|
+
name: string;
|
|
178
|
+
screen_name: string;
|
|
179
|
+
type: string;
|
|
180
|
+
}[];
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
sizes: {
|
|
184
|
+
large: {
|
|
185
|
+
h: number;
|
|
186
|
+
w: number;
|
|
187
|
+
resize: string;
|
|
188
|
+
};
|
|
189
|
+
medium: {
|
|
190
|
+
h: number;
|
|
191
|
+
w: number;
|
|
192
|
+
resize: string;
|
|
193
|
+
};
|
|
194
|
+
small: {
|
|
195
|
+
h: number;
|
|
196
|
+
w: number;
|
|
197
|
+
resize: string;
|
|
198
|
+
};
|
|
199
|
+
thumb: {
|
|
200
|
+
h: number;
|
|
201
|
+
w: number;
|
|
202
|
+
resize: string;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
original_info: {
|
|
206
|
+
height: number;
|
|
207
|
+
width: number;
|
|
208
|
+
focus_rects?: {
|
|
209
|
+
x: number;
|
|
210
|
+
y: number;
|
|
211
|
+
w: number;
|
|
212
|
+
h: number;
|
|
213
|
+
}[];
|
|
214
|
+
};
|
|
215
|
+
}[];
|
|
133
216
|
user_mentions: {
|
|
134
217
|
id_str: string;
|
|
135
218
|
name: string;
|
|
@@ -150,14 +233,123 @@ export interface CustomTimelineTweetEntry {
|
|
|
150
233
|
indices: number[];
|
|
151
234
|
text: string;
|
|
152
235
|
}[];
|
|
153
|
-
|
|
236
|
+
};
|
|
237
|
+
extended_entities?: {
|
|
238
|
+
media: {
|
|
154
239
|
display_url: string;
|
|
155
240
|
expanded_url: string;
|
|
156
241
|
id_str: string;
|
|
157
242
|
indices: number[];
|
|
243
|
+
media_key: string;
|
|
158
244
|
media_url_https: string;
|
|
245
|
+
source_status_id_str?: string;
|
|
246
|
+
source_user_id_str?: string;
|
|
159
247
|
type: string;
|
|
160
248
|
url: string;
|
|
249
|
+
additional_media_info?: {
|
|
250
|
+
monetizable: boolean;
|
|
251
|
+
source_user?: {
|
|
252
|
+
user_results: {
|
|
253
|
+
result: {
|
|
254
|
+
__typename: string;
|
|
255
|
+
id: string;
|
|
256
|
+
rest_id: string;
|
|
257
|
+
affiliates_highlighted_label: {
|
|
258
|
+
label?: {
|
|
259
|
+
url: {
|
|
260
|
+
url: string;
|
|
261
|
+
urlType: string;
|
|
262
|
+
};
|
|
263
|
+
badge: {
|
|
264
|
+
url: string;
|
|
265
|
+
};
|
|
266
|
+
description: string;
|
|
267
|
+
userLabelType: string;
|
|
268
|
+
userLabelDisplayType: string;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
has_graduated_access: boolean;
|
|
272
|
+
is_blue_verified: boolean;
|
|
273
|
+
profile_image_shape: string;
|
|
274
|
+
legacy: {
|
|
275
|
+
can_dm: boolean;
|
|
276
|
+
can_media_tag: boolean;
|
|
277
|
+
created_at: string;
|
|
278
|
+
default_profile: boolean;
|
|
279
|
+
default_profile_image: boolean;
|
|
280
|
+
description: string;
|
|
281
|
+
entities: {
|
|
282
|
+
description: {
|
|
283
|
+
urls: {
|
|
284
|
+
display_url: string;
|
|
285
|
+
expanded_url: string;
|
|
286
|
+
url: string;
|
|
287
|
+
indices: number[];
|
|
288
|
+
}[];
|
|
289
|
+
};
|
|
290
|
+
url?: {
|
|
291
|
+
urls: {
|
|
292
|
+
display_url: string;
|
|
293
|
+
expanded_url: string;
|
|
294
|
+
url: string;
|
|
295
|
+
indices: number[];
|
|
296
|
+
}[];
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
fast_followers_count: number;
|
|
300
|
+
favourites_count: number;
|
|
301
|
+
followers_count: number;
|
|
302
|
+
friends_count: number;
|
|
303
|
+
has_custom_timelines: boolean;
|
|
304
|
+
is_translator: boolean;
|
|
305
|
+
listed_count: number;
|
|
306
|
+
location: string;
|
|
307
|
+
media_count: number;
|
|
308
|
+
name: string;
|
|
309
|
+
normal_followers_count: number;
|
|
310
|
+
pinned_tweet_ids_str: string[];
|
|
311
|
+
possibly_sensitive: boolean;
|
|
312
|
+
profile_banner_url?: string;
|
|
313
|
+
profile_image_url_https: string;
|
|
314
|
+
profile_interstitial_type: string;
|
|
315
|
+
screen_name: string;
|
|
316
|
+
statuses_count: number;
|
|
317
|
+
translator_type: string;
|
|
318
|
+
verified: boolean;
|
|
319
|
+
want_retweets: boolean;
|
|
320
|
+
withheld_in_countries: unknown[];
|
|
321
|
+
url?: string;
|
|
322
|
+
verified_type?: string;
|
|
323
|
+
};
|
|
324
|
+
professional?: {
|
|
325
|
+
rest_id: string;
|
|
326
|
+
professional_type: string;
|
|
327
|
+
category: {
|
|
328
|
+
id: number;
|
|
329
|
+
name: string;
|
|
330
|
+
icon_name: string;
|
|
331
|
+
}[];
|
|
332
|
+
};
|
|
333
|
+
super_follow_eligible?: boolean;
|
|
334
|
+
has_nft_avatar?: boolean;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
title?: string;
|
|
339
|
+
description?: string;
|
|
340
|
+
call_to_actions?: {
|
|
341
|
+
watch_now: {
|
|
342
|
+
url: string;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
embeddable?: boolean;
|
|
346
|
+
};
|
|
347
|
+
mediaStats?: {
|
|
348
|
+
viewCount: number;
|
|
349
|
+
};
|
|
350
|
+
ext_media_availability: {
|
|
351
|
+
status: string;
|
|
352
|
+
};
|
|
161
353
|
features: {
|
|
162
354
|
large?: {
|
|
163
355
|
faces: {
|
|
@@ -191,6 +383,14 @@ export interface CustomTimelineTweetEntry {
|
|
|
191
383
|
w: number;
|
|
192
384
|
}[];
|
|
193
385
|
};
|
|
386
|
+
all?: {
|
|
387
|
+
tags: {
|
|
388
|
+
user_id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
screen_name: string;
|
|
391
|
+
type: string;
|
|
392
|
+
}[];
|
|
393
|
+
};
|
|
194
394
|
};
|
|
195
395
|
sizes: {
|
|
196
396
|
large: {
|
|
@@ -224,8 +424,16 @@ export interface CustomTimelineTweetEntry {
|
|
|
224
424
|
h: number;
|
|
225
425
|
}[];
|
|
226
426
|
};
|
|
227
|
-
|
|
228
|
-
|
|
427
|
+
video_info?: {
|
|
428
|
+
aspect_ratio: number[];
|
|
429
|
+
duration_millis?: number;
|
|
430
|
+
variants: {
|
|
431
|
+
bitrate?: number;
|
|
432
|
+
content_type: string;
|
|
433
|
+
url: string;
|
|
434
|
+
}[];
|
|
435
|
+
};
|
|
436
|
+
ext_alt_text?: string;
|
|
229
437
|
}[];
|
|
230
438
|
};
|
|
231
439
|
favorite_count: number;
|
|
@@ -233,6 +441,8 @@ export interface CustomTimelineTweetEntry {
|
|
|
233
441
|
full_text: string;
|
|
234
442
|
is_quote_status: boolean;
|
|
235
443
|
lang: string;
|
|
444
|
+
possibly_sensitive?: boolean;
|
|
445
|
+
possibly_sensitive_editable?: boolean;
|
|
236
446
|
quote_count: number;
|
|
237
447
|
reply_count: number;
|
|
238
448
|
retweet_count: number;
|
|
@@ -251,16 +461,10 @@ export interface CustomTimelineTweetEntry {
|
|
|
251
461
|
rest_id: string;
|
|
252
462
|
affiliates_highlighted_label: {
|
|
253
463
|
label?: {
|
|
254
|
-
url?: {
|
|
255
|
-
url: string;
|
|
256
|
-
urlType: string;
|
|
257
|
-
};
|
|
258
464
|
badge: {
|
|
259
465
|
url: string;
|
|
260
466
|
};
|
|
261
467
|
description: string;
|
|
262
|
-
userLabelType: string;
|
|
263
|
-
userLabelDisplayType?: string;
|
|
264
468
|
longDescription?: {
|
|
265
469
|
text: string;
|
|
266
470
|
entities: {
|
|
@@ -282,6 +486,12 @@ export interface CustomTimelineTweetEntry {
|
|
|
282
486
|
};
|
|
283
487
|
}[];
|
|
284
488
|
};
|
|
489
|
+
userLabelType: string;
|
|
490
|
+
url?: {
|
|
491
|
+
url: string;
|
|
492
|
+
urlType: string;
|
|
493
|
+
};
|
|
494
|
+
userLabelDisplayType?: string;
|
|
285
495
|
};
|
|
286
496
|
};
|
|
287
497
|
has_graduated_access: boolean;
|
|
@@ -331,11 +541,12 @@ export interface CustomTimelineTweetEntry {
|
|
|
331
541
|
screen_name: string;
|
|
332
542
|
statuses_count: number;
|
|
333
543
|
translator_type: string;
|
|
544
|
+
url?: string;
|
|
334
545
|
verified: boolean;
|
|
335
546
|
want_retweets: boolean;
|
|
336
547
|
withheld_in_countries: unknown[];
|
|
337
|
-
url?: string;
|
|
338
548
|
verified_type?: string;
|
|
549
|
+
following?: boolean;
|
|
339
550
|
};
|
|
340
551
|
professional?: {
|
|
341
552
|
rest_id: string;
|
|
@@ -364,13 +575,9 @@ export interface CustomTimelineTweetEntry {
|
|
|
364
575
|
edits_remaining: string;
|
|
365
576
|
};
|
|
366
577
|
};
|
|
367
|
-
edit_perspective?: {
|
|
368
|
-
favorited: boolean;
|
|
369
|
-
retweeted: boolean;
|
|
370
|
-
};
|
|
371
578
|
is_translatable: boolean;
|
|
372
579
|
views: {
|
|
373
|
-
count
|
|
580
|
+
count: string;
|
|
374
581
|
state: string;
|
|
375
582
|
};
|
|
376
583
|
source: string;
|
|
@@ -497,87 +704,6 @@ export interface CustomTimelineTweetEntry {
|
|
|
497
704
|
media_url_https: string;
|
|
498
705
|
type: string;
|
|
499
706
|
url: string;
|
|
500
|
-
additional_media_info?: {
|
|
501
|
-
monetizable: boolean;
|
|
502
|
-
title?: string;
|
|
503
|
-
description?: string;
|
|
504
|
-
embeddable?: boolean;
|
|
505
|
-
source_user?: {
|
|
506
|
-
user_results: {
|
|
507
|
-
result: {
|
|
508
|
-
__typename: string;
|
|
509
|
-
id: string;
|
|
510
|
-
rest_id: string;
|
|
511
|
-
affiliates_highlighted_label: {};
|
|
512
|
-
has_graduated_access: boolean;
|
|
513
|
-
is_blue_verified: boolean;
|
|
514
|
-
profile_image_shape: string;
|
|
515
|
-
legacy: {
|
|
516
|
-
can_dm: boolean;
|
|
517
|
-
can_media_tag: boolean;
|
|
518
|
-
created_at: string;
|
|
519
|
-
default_profile: boolean;
|
|
520
|
-
default_profile_image: boolean;
|
|
521
|
-
description: string;
|
|
522
|
-
entities: {
|
|
523
|
-
description: {
|
|
524
|
-
urls: unknown[];
|
|
525
|
-
};
|
|
526
|
-
url?: {
|
|
527
|
-
urls: {
|
|
528
|
-
display_url: string;
|
|
529
|
-
expanded_url: string;
|
|
530
|
-
url: string;
|
|
531
|
-
indices: number[];
|
|
532
|
-
}[];
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
fast_followers_count: number;
|
|
536
|
-
favourites_count: number;
|
|
537
|
-
followers_count: number;
|
|
538
|
-
friends_count: number;
|
|
539
|
-
has_custom_timelines: boolean;
|
|
540
|
-
is_translator: boolean;
|
|
541
|
-
listed_count: number;
|
|
542
|
-
location: string;
|
|
543
|
-
media_count: number;
|
|
544
|
-
name: string;
|
|
545
|
-
normal_followers_count: number;
|
|
546
|
-
pinned_tweet_ids_str: string[];
|
|
547
|
-
possibly_sensitive: boolean;
|
|
548
|
-
profile_banner_url: string;
|
|
549
|
-
profile_image_url_https: string;
|
|
550
|
-
profile_interstitial_type: string;
|
|
551
|
-
screen_name: string;
|
|
552
|
-
statuses_count: number;
|
|
553
|
-
translator_type: string;
|
|
554
|
-
url?: string;
|
|
555
|
-
verified: boolean;
|
|
556
|
-
want_retweets: boolean;
|
|
557
|
-
withheld_in_countries: unknown[];
|
|
558
|
-
};
|
|
559
|
-
professional?: {
|
|
560
|
-
rest_id: string;
|
|
561
|
-
professional_type: string;
|
|
562
|
-
category: {
|
|
563
|
-
id: number;
|
|
564
|
-
name: string;
|
|
565
|
-
icon_name: string;
|
|
566
|
-
}[];
|
|
567
|
-
};
|
|
568
|
-
super_follow_eligible?: boolean;
|
|
569
|
-
};
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
call_to_actions?: {
|
|
573
|
-
watch_now: {
|
|
574
|
-
url: string;
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
mediaStats?: {
|
|
579
|
-
viewCount: number;
|
|
580
|
-
};
|
|
581
707
|
ext_media_availability: {
|
|
582
708
|
status: string;
|
|
583
709
|
};
|
|
@@ -655,6 +781,87 @@ export interface CustomTimelineTweetEntry {
|
|
|
655
781
|
h: number;
|
|
656
782
|
}[];
|
|
657
783
|
};
|
|
784
|
+
additional_media_info?: {
|
|
785
|
+
monetizable: boolean;
|
|
786
|
+
source_user?: {
|
|
787
|
+
user_results: {
|
|
788
|
+
result: {
|
|
789
|
+
__typename: string;
|
|
790
|
+
id: string;
|
|
791
|
+
rest_id: string;
|
|
792
|
+
affiliates_highlighted_label: {};
|
|
793
|
+
has_graduated_access: boolean;
|
|
794
|
+
is_blue_verified: boolean;
|
|
795
|
+
profile_image_shape: string;
|
|
796
|
+
legacy: {
|
|
797
|
+
can_dm: boolean;
|
|
798
|
+
can_media_tag: boolean;
|
|
799
|
+
created_at: string;
|
|
800
|
+
default_profile: boolean;
|
|
801
|
+
default_profile_image: boolean;
|
|
802
|
+
description: string;
|
|
803
|
+
entities: {
|
|
804
|
+
description: {
|
|
805
|
+
urls: unknown[];
|
|
806
|
+
};
|
|
807
|
+
url?: {
|
|
808
|
+
urls: {
|
|
809
|
+
display_url: string;
|
|
810
|
+
expanded_url: string;
|
|
811
|
+
url: string;
|
|
812
|
+
indices: number[];
|
|
813
|
+
}[];
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
fast_followers_count: number;
|
|
817
|
+
favourites_count: number;
|
|
818
|
+
followers_count: number;
|
|
819
|
+
friends_count: number;
|
|
820
|
+
has_custom_timelines: boolean;
|
|
821
|
+
is_translator: boolean;
|
|
822
|
+
listed_count: number;
|
|
823
|
+
location: string;
|
|
824
|
+
media_count: number;
|
|
825
|
+
name: string;
|
|
826
|
+
normal_followers_count: number;
|
|
827
|
+
pinned_tweet_ids_str: string[];
|
|
828
|
+
possibly_sensitive: boolean;
|
|
829
|
+
profile_banner_url: string;
|
|
830
|
+
profile_image_url_https: string;
|
|
831
|
+
profile_interstitial_type: string;
|
|
832
|
+
screen_name: string;
|
|
833
|
+
statuses_count: number;
|
|
834
|
+
translator_type: string;
|
|
835
|
+
url?: string;
|
|
836
|
+
verified: boolean;
|
|
837
|
+
want_retweets: boolean;
|
|
838
|
+
withheld_in_countries: unknown[];
|
|
839
|
+
};
|
|
840
|
+
professional?: {
|
|
841
|
+
rest_id: string;
|
|
842
|
+
professional_type: string;
|
|
843
|
+
category: {
|
|
844
|
+
id: number;
|
|
845
|
+
name: string;
|
|
846
|
+
icon_name: string;
|
|
847
|
+
}[];
|
|
848
|
+
};
|
|
849
|
+
super_follow_eligible?: boolean;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
title?: string;
|
|
854
|
+
description?: string;
|
|
855
|
+
call_to_actions?: {
|
|
856
|
+
watch_now: {
|
|
857
|
+
url: string;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
embeddable?: boolean;
|
|
861
|
+
};
|
|
862
|
+
mediaStats?: {
|
|
863
|
+
viewCount: number;
|
|
864
|
+
};
|
|
658
865
|
video_info?: {
|
|
659
866
|
aspect_ratio: number[];
|
|
660
867
|
duration_millis?: number;
|
|
@@ -688,197 +895,52 @@ export interface CustomTimelineTweetEntry {
|
|
|
688
895
|
expanded: string;
|
|
689
896
|
display: string;
|
|
690
897
|
};
|
|
691
|
-
in_reply_to_screen_name?: string;
|
|
692
|
-
in_reply_to_status_id_str?: string;
|
|
693
|
-
in_reply_to_user_id_str?: string;
|
|
694
|
-
place?: {
|
|
695
|
-
attributes: {};
|
|
696
|
-
bounding_box: {
|
|
697
|
-
coordinates: number[][][];
|
|
698
|
-
type: string;
|
|
699
|
-
};
|
|
700
|
-
contained_within: unknown[];
|
|
701
|
-
country: string;
|
|
702
|
-
country_code: string;
|
|
703
|
-
full_name: string;
|
|
704
|
-
name: string;
|
|
705
|
-
id: string;
|
|
706
|
-
place_type: string;
|
|
707
|
-
url: string;
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
|
-
note_tweet?: {
|
|
711
|
-
is_expandable: boolean;
|
|
712
|
-
note_tweet_results: {
|
|
713
|
-
result: {
|
|
714
|
-
id: string;
|
|
715
|
-
text: string;
|
|
716
|
-
entity_set: {
|
|
717
|
-
user_mentions: {
|
|
718
|
-
id_str: string;
|
|
719
|
-
name: string;
|
|
720
|
-
screen_name: string;
|
|
721
|
-
indices: number[];
|
|
722
|
-
}[];
|
|
723
|
-
urls: {
|
|
724
|
-
display_url: string;
|
|
725
|
-
expanded_url: string;
|
|
726
|
-
url: string;
|
|
727
|
-
indices: number[];
|
|
728
|
-
}[];
|
|
729
|
-
hashtags: {
|
|
730
|
-
indices: number[];
|
|
731
|
-
text: string;
|
|
732
|
-
}[];
|
|
733
|
-
symbols: unknown[];
|
|
734
|
-
};
|
|
735
|
-
richtext?: {
|
|
736
|
-
richtext_tags: {
|
|
737
|
-
from_index: number;
|
|
738
|
-
to_index: number;
|
|
739
|
-
richtext_types: string[];
|
|
740
|
-
}[];
|
|
741
|
-
};
|
|
742
|
-
media?: {
|
|
743
|
-
inline_media: unknown[];
|
|
744
|
-
};
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
898
|
};
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
name: string;
|
|
786
|
-
version: string;
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
name: string;
|
|
791
|
-
url: string;
|
|
792
|
-
user_refs_results: {
|
|
793
|
-
result: {
|
|
794
|
-
__typename: string;
|
|
795
|
-
id: string;
|
|
796
|
-
rest_id: string;
|
|
797
|
-
affiliates_highlighted_label: {};
|
|
798
|
-
has_graduated_access: boolean;
|
|
799
|
-
is_blue_verified: boolean;
|
|
800
|
-
profile_image_shape: string;
|
|
801
|
-
legacy: {
|
|
802
|
-
can_dm: boolean;
|
|
803
|
-
can_media_tag: boolean;
|
|
804
|
-
created_at: string;
|
|
805
|
-
default_profile: boolean;
|
|
806
|
-
default_profile_image: boolean;
|
|
807
|
-
description: string;
|
|
808
|
-
entities: {
|
|
809
|
-
description: {
|
|
810
|
-
urls: {
|
|
811
|
-
display_url: string;
|
|
812
|
-
expanded_url: string;
|
|
813
|
-
url: string;
|
|
814
|
-
indices: number[];
|
|
815
|
-
}[];
|
|
816
|
-
};
|
|
817
|
-
url?: {
|
|
818
|
-
urls: {
|
|
819
|
-
display_url: string;
|
|
820
|
-
expanded_url: string;
|
|
821
|
-
url: string;
|
|
822
|
-
indices: number[];
|
|
823
|
-
}[];
|
|
899
|
+
quoted_status_result?: {
|
|
900
|
+
result: {
|
|
901
|
+
__typename: string;
|
|
902
|
+
rest_id?: string;
|
|
903
|
+
core?: {
|
|
904
|
+
user_results: {
|
|
905
|
+
result: {
|
|
906
|
+
__typename: string;
|
|
907
|
+
id: string;
|
|
908
|
+
rest_id: string;
|
|
909
|
+
affiliates_highlighted_label: {
|
|
910
|
+
label?: {
|
|
911
|
+
badge: {
|
|
912
|
+
url: string;
|
|
913
|
+
};
|
|
914
|
+
description: string;
|
|
915
|
+
longDescription: {
|
|
916
|
+
text: string;
|
|
917
|
+
entities: {
|
|
918
|
+
fromIndex: number;
|
|
919
|
+
toIndex: number;
|
|
920
|
+
ref: {
|
|
921
|
+
type: string;
|
|
922
|
+
screen_name: string;
|
|
923
|
+
mention_results: {
|
|
924
|
+
result: {
|
|
925
|
+
__typename: string;
|
|
926
|
+
legacy: {
|
|
927
|
+
screen_name: string;
|
|
928
|
+
};
|
|
929
|
+
rest_id: string;
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
}[];
|
|
934
|
+
};
|
|
935
|
+
userLabelType: string;
|
|
824
936
|
};
|
|
825
937
|
};
|
|
826
|
-
fast_followers_count: number;
|
|
827
|
-
favourites_count: number;
|
|
828
|
-
followers_count: number;
|
|
829
|
-
friends_count: number;
|
|
830
|
-
has_custom_timelines: boolean;
|
|
831
|
-
is_translator: boolean;
|
|
832
|
-
listed_count: number;
|
|
833
|
-
location: string;
|
|
834
|
-
media_count: number;
|
|
835
|
-
name: string;
|
|
836
|
-
normal_followers_count: number;
|
|
837
|
-
pinned_tweet_ids_str: string[];
|
|
838
|
-
possibly_sensitive: boolean;
|
|
839
|
-
profile_banner_url: string;
|
|
840
|
-
profile_image_url_https: string;
|
|
841
|
-
profile_interstitial_type: string;
|
|
842
|
-
screen_name: string;
|
|
843
|
-
statuses_count: number;
|
|
844
|
-
translator_type: string;
|
|
845
|
-
url?: string;
|
|
846
|
-
verified: boolean;
|
|
847
|
-
want_retweets: boolean;
|
|
848
|
-
withheld_in_countries: unknown[];
|
|
849
|
-
verified_type?: string;
|
|
850
|
-
};
|
|
851
|
-
professional?: {
|
|
852
|
-
rest_id: string;
|
|
853
|
-
professional_type: string;
|
|
854
|
-
category: {
|
|
855
|
-
id: number;
|
|
856
|
-
name: string;
|
|
857
|
-
icon_name: string;
|
|
858
|
-
}[];
|
|
859
|
-
};
|
|
860
|
-
};
|
|
861
|
-
}[];
|
|
862
|
-
};
|
|
863
|
-
};
|
|
864
|
-
unified_card?: {
|
|
865
|
-
card_fetch_state: string;
|
|
866
|
-
};
|
|
867
|
-
quoted_status_result?: {
|
|
868
|
-
result: {
|
|
869
|
-
__typename: string;
|
|
870
|
-
rest_id?: string;
|
|
871
|
-
core?: {
|
|
872
|
-
user_results: {
|
|
873
|
-
result: {
|
|
874
|
-
__typename: string;
|
|
875
|
-
id: string;
|
|
876
|
-
rest_id: string;
|
|
877
|
-
affiliates_highlighted_label: {};
|
|
878
938
|
has_graduated_access: boolean;
|
|
879
939
|
is_blue_verified: boolean;
|
|
880
940
|
profile_image_shape: string;
|
|
881
941
|
legacy: {
|
|
942
|
+
followed_by?: boolean;
|
|
943
|
+
following?: boolean;
|
|
882
944
|
can_dm: boolean;
|
|
883
945
|
can_media_tag: boolean;
|
|
884
946
|
created_at: string;
|
|
@@ -926,9 +988,6 @@ export interface CustomTimelineTweetEntry {
|
|
|
926
988
|
verified: boolean;
|
|
927
989
|
want_retweets: boolean;
|
|
928
990
|
withheld_in_countries: unknown[];
|
|
929
|
-
followed_by?: boolean;
|
|
930
|
-
following?: boolean;
|
|
931
|
-
verified_type?: string;
|
|
932
991
|
};
|
|
933
992
|
professional?: {
|
|
934
993
|
rest_id: string;
|
|
@@ -955,10 +1014,6 @@ export interface CustomTimelineTweetEntry {
|
|
|
955
1014
|
edits_remaining: string;
|
|
956
1015
|
};
|
|
957
1016
|
};
|
|
958
|
-
edit_perspective?: {
|
|
959
|
-
favorited: boolean;
|
|
960
|
-
retweeted: boolean;
|
|
961
|
-
};
|
|
962
1017
|
is_translatable?: boolean;
|
|
963
1018
|
views?: {
|
|
964
1019
|
count: string;
|
|
@@ -1144,26 +1199,29 @@ export interface CustomTimelineTweetEntry {
|
|
|
1144
1199
|
h: number;
|
|
1145
1200
|
}[];
|
|
1146
1201
|
};
|
|
1147
|
-
additional_media_info?: {
|
|
1148
|
-
monetizable: boolean;
|
|
1149
|
-
};
|
|
1150
|
-
mediaStats?: {
|
|
1151
|
-
viewCount: number;
|
|
1152
|
-
};
|
|
1153
1202
|
video_info?: {
|
|
1154
1203
|
aspect_ratio: number[];
|
|
1155
|
-
duration_millis?: number;
|
|
1156
1204
|
variants: {
|
|
1157
1205
|
bitrate?: number;
|
|
1158
1206
|
content_type: string;
|
|
1159
1207
|
url: string;
|
|
1160
1208
|
}[];
|
|
1209
|
+
duration_millis?: number;
|
|
1210
|
+
};
|
|
1211
|
+
additional_media_info?: {
|
|
1212
|
+
monetizable: boolean;
|
|
1213
|
+
};
|
|
1214
|
+
mediaStats?: {
|
|
1215
|
+
viewCount: number;
|
|
1161
1216
|
};
|
|
1162
1217
|
}[];
|
|
1163
1218
|
};
|
|
1164
1219
|
favorite_count: number;
|
|
1165
1220
|
favorited: boolean;
|
|
1166
1221
|
full_text: string;
|
|
1222
|
+
in_reply_to_screen_name?: string;
|
|
1223
|
+
in_reply_to_status_id_str?: string;
|
|
1224
|
+
in_reply_to_user_id_str?: string;
|
|
1167
1225
|
is_quote_status: boolean;
|
|
1168
1226
|
lang: string;
|
|
1169
1227
|
possibly_sensitive?: boolean;
|
|
@@ -1174,30 +1232,12 @@ export interface CustomTimelineTweetEntry {
|
|
|
1174
1232
|
retweeted: boolean;
|
|
1175
1233
|
user_id_str: string;
|
|
1176
1234
|
id_str: string;
|
|
1177
|
-
in_reply_to_screen_name?: string;
|
|
1178
|
-
in_reply_to_status_id_str?: string;
|
|
1179
|
-
in_reply_to_user_id_str?: string;
|
|
1180
1235
|
quoted_status_id_str?: string;
|
|
1181
1236
|
quoted_status_permalink?: {
|
|
1182
1237
|
url: string;
|
|
1183
1238
|
expanded: string;
|
|
1184
1239
|
display: string;
|
|
1185
1240
|
};
|
|
1186
|
-
place?: {
|
|
1187
|
-
attributes: {};
|
|
1188
|
-
bounding_box: {
|
|
1189
|
-
coordinates: number[][][];
|
|
1190
|
-
type: string;
|
|
1191
|
-
};
|
|
1192
|
-
contained_within: unknown[];
|
|
1193
|
-
country: string;
|
|
1194
|
-
country_code: string;
|
|
1195
|
-
full_name: string;
|
|
1196
|
-
name: string;
|
|
1197
|
-
id: string;
|
|
1198
|
-
place_type: string;
|
|
1199
|
-
url: string;
|
|
1200
|
-
};
|
|
1201
1241
|
};
|
|
1202
1242
|
quotedRefResult?: {
|
|
1203
1243
|
result: {
|
|
@@ -1205,6 +1245,10 @@ export interface CustomTimelineTweetEntry {
|
|
|
1205
1245
|
rest_id: string;
|
|
1206
1246
|
};
|
|
1207
1247
|
};
|
|
1248
|
+
edit_perspective?: {
|
|
1249
|
+
favorited: boolean;
|
|
1250
|
+
retweeted: boolean;
|
|
1251
|
+
};
|
|
1208
1252
|
tweet?: {
|
|
1209
1253
|
rest_id: string;
|
|
1210
1254
|
core: {
|
|
@@ -1233,7 +1277,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
1233
1277
|
indices: number[];
|
|
1234
1278
|
}[];
|
|
1235
1279
|
};
|
|
1236
|
-
url
|
|
1280
|
+
url: {
|
|
1237
1281
|
urls: {
|
|
1238
1282
|
display_url: string;
|
|
1239
1283
|
expanded_url: string;
|
|
@@ -1261,12 +1305,12 @@ export interface CustomTimelineTweetEntry {
|
|
|
1261
1305
|
screen_name: string;
|
|
1262
1306
|
statuses_count: number;
|
|
1263
1307
|
translator_type: string;
|
|
1264
|
-
url
|
|
1308
|
+
url: string;
|
|
1265
1309
|
verified: boolean;
|
|
1266
1310
|
want_retweets: boolean;
|
|
1267
1311
|
withheld_in_countries: unknown[];
|
|
1268
1312
|
};
|
|
1269
|
-
professional
|
|
1313
|
+
professional: {
|
|
1270
1314
|
rest_id: string;
|
|
1271
1315
|
professional_type: string;
|
|
1272
1316
|
category: unknown[];
|
|
@@ -1308,7 +1352,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
1308
1352
|
conversation_id_str: string;
|
|
1309
1353
|
display_text_range: number[];
|
|
1310
1354
|
entities: {
|
|
1311
|
-
media
|
|
1355
|
+
media: {
|
|
1312
1356
|
display_url: string;
|
|
1313
1357
|
expanded_url: string;
|
|
1314
1358
|
id_str: string;
|
|
@@ -1396,7 +1440,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
1396
1440
|
}[];
|
|
1397
1441
|
symbols: unknown[];
|
|
1398
1442
|
};
|
|
1399
|
-
extended_entities
|
|
1443
|
+
extended_entities: {
|
|
1400
1444
|
media: {
|
|
1401
1445
|
display_url: string;
|
|
1402
1446
|
expanded_url: string;
|
|
@@ -1492,51 +1536,6 @@ export interface CustomTimelineTweetEntry {
|
|
|
1492
1536
|
user_id_str: string;
|
|
1493
1537
|
id_str: string;
|
|
1494
1538
|
};
|
|
1495
|
-
card?: {
|
|
1496
|
-
rest_id: string;
|
|
1497
|
-
legacy: {
|
|
1498
|
-
binding_values: {
|
|
1499
|
-
key: string;
|
|
1500
|
-
value: {
|
|
1501
|
-
image_value?: {
|
|
1502
|
-
height: number;
|
|
1503
|
-
width: number;
|
|
1504
|
-
url: string;
|
|
1505
|
-
};
|
|
1506
|
-
type: string;
|
|
1507
|
-
string_value?: string;
|
|
1508
|
-
scribe_key?: string;
|
|
1509
|
-
image_color_value?: {
|
|
1510
|
-
palette: {
|
|
1511
|
-
rgb: {
|
|
1512
|
-
blue: number;
|
|
1513
|
-
green: number;
|
|
1514
|
-
red: number;
|
|
1515
|
-
};
|
|
1516
|
-
percentage: number;
|
|
1517
|
-
}[];
|
|
1518
|
-
};
|
|
1519
|
-
};
|
|
1520
|
-
}[];
|
|
1521
|
-
card_platform: {
|
|
1522
|
-
platform: {
|
|
1523
|
-
audience: {
|
|
1524
|
-
name: string;
|
|
1525
|
-
};
|
|
1526
|
-
device: {
|
|
1527
|
-
name: string;
|
|
1528
|
-
version: string;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
};
|
|
1532
|
-
name: string;
|
|
1533
|
-
url: string;
|
|
1534
|
-
user_refs_results: unknown[];
|
|
1535
|
-
};
|
|
1536
|
-
};
|
|
1537
|
-
unified_card?: {
|
|
1538
|
-
card_fetch_state: string;
|
|
1539
|
-
};
|
|
1540
1539
|
};
|
|
1541
1540
|
limitedActionResults?: {
|
|
1542
1541
|
limited_actions: {
|
|
@@ -1580,9 +1579,22 @@ export interface CustomTimelineTweetEntry {
|
|
|
1580
1579
|
}[];
|
|
1581
1580
|
symbols: unknown[];
|
|
1582
1581
|
};
|
|
1582
|
+
richtext?: {
|
|
1583
|
+
richtext_tags: unknown[];
|
|
1584
|
+
};
|
|
1585
|
+
media?: {
|
|
1586
|
+
inline_media: unknown[];
|
|
1587
|
+
};
|
|
1583
1588
|
};
|
|
1584
1589
|
};
|
|
1585
1590
|
};
|
|
1591
|
+
previous_counts?: {
|
|
1592
|
+
bookmark_count: number;
|
|
1593
|
+
favorite_count: number;
|
|
1594
|
+
quote_count: number;
|
|
1595
|
+
reply_count: number;
|
|
1596
|
+
retweet_count: number;
|
|
1597
|
+
};
|
|
1586
1598
|
card?: {
|
|
1587
1599
|
rest_id: string;
|
|
1588
1600
|
legacy: {
|
|
@@ -1591,12 +1603,12 @@ export interface CustomTimelineTweetEntry {
|
|
|
1591
1603
|
value: {
|
|
1592
1604
|
string_value?: string;
|
|
1593
1605
|
type: string;
|
|
1594
|
-
scribe_key?: string;
|
|
1595
1606
|
image_value?: {
|
|
1596
1607
|
height: number;
|
|
1597
1608
|
width: number;
|
|
1598
1609
|
url: string;
|
|
1599
1610
|
};
|
|
1611
|
+
scribe_key?: string;
|
|
1600
1612
|
user_value?: {
|
|
1601
1613
|
id_str: string;
|
|
1602
1614
|
path: unknown[];
|
|
@@ -1676,9 +1688,9 @@ export interface CustomTimelineTweetEntry {
|
|
|
1676
1688
|
translator_type: string;
|
|
1677
1689
|
url: string;
|
|
1678
1690
|
verified: boolean;
|
|
1691
|
+
verified_type: string;
|
|
1679
1692
|
want_retweets: boolean;
|
|
1680
1693
|
withheld_in_countries: unknown[];
|
|
1681
|
-
verified_type?: string;
|
|
1682
1694
|
};
|
|
1683
1695
|
};
|
|
1684
1696
|
}[];
|
|
@@ -1687,38 +1699,53 @@ export interface CustomTimelineTweetEntry {
|
|
|
1687
1699
|
unified_card?: {
|
|
1688
1700
|
card_fetch_state: string;
|
|
1689
1701
|
};
|
|
1690
|
-
previous_counts?: {
|
|
1691
|
-
bookmark_count: number;
|
|
1692
|
-
favorite_count: number;
|
|
1693
|
-
quote_count: number;
|
|
1694
|
-
reply_count: number;
|
|
1695
|
-
retweet_count: number;
|
|
1696
|
-
};
|
|
1697
1702
|
};
|
|
1698
1703
|
};
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1704
|
+
card?: {
|
|
1705
|
+
rest_id: string;
|
|
1706
|
+
legacy: {
|
|
1707
|
+
binding_values: {
|
|
1708
|
+
key: string;
|
|
1709
|
+
value: {
|
|
1710
|
+
image_value?: {
|
|
1711
|
+
height: number;
|
|
1712
|
+
width: number;
|
|
1713
|
+
url: string;
|
|
1714
|
+
};
|
|
1715
|
+
type: string;
|
|
1716
|
+
string_value?: string;
|
|
1717
|
+
scribe_key?: string;
|
|
1718
|
+
user_value?: {
|
|
1719
|
+
id_str: string;
|
|
1720
|
+
path: unknown[];
|
|
1721
|
+
};
|
|
1722
|
+
image_color_value?: {
|
|
1723
|
+
palette: {
|
|
1724
|
+
rgb: {
|
|
1725
|
+
blue: number;
|
|
1726
|
+
green: number;
|
|
1727
|
+
red: number;
|
|
1728
|
+
};
|
|
1729
|
+
percentage: number;
|
|
1730
|
+
}[];
|
|
1731
|
+
};
|
|
1732
|
+
boolean_value?: boolean;
|
|
1733
|
+
};
|
|
1734
|
+
}[];
|
|
1735
|
+
card_platform: {
|
|
1736
|
+
platform: {
|
|
1737
|
+
audience: {
|
|
1738
|
+
name: string;
|
|
1739
|
+
};
|
|
1740
|
+
device: {
|
|
1741
|
+
name: string;
|
|
1742
|
+
version: string;
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
name: string;
|
|
1747
|
+
url: string;
|
|
1748
|
+
user_refs_results: {
|
|
1722
1749
|
result: {
|
|
1723
1750
|
__typename: string;
|
|
1724
1751
|
id: string;
|
|
@@ -1743,7 +1770,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
1743
1770
|
indices: number[];
|
|
1744
1771
|
}[];
|
|
1745
1772
|
};
|
|
1746
|
-
url
|
|
1773
|
+
url: {
|
|
1747
1774
|
urls: {
|
|
1748
1775
|
display_url: string;
|
|
1749
1776
|
expanded_url: string;
|
|
@@ -1765,16 +1792,17 @@ export interface CustomTimelineTweetEntry {
|
|
|
1765
1792
|
normal_followers_count: number;
|
|
1766
1793
|
pinned_tweet_ids_str: string[];
|
|
1767
1794
|
possibly_sensitive: boolean;
|
|
1768
|
-
profile_banner_url
|
|
1795
|
+
profile_banner_url: string;
|
|
1769
1796
|
profile_image_url_https: string;
|
|
1770
1797
|
profile_interstitial_type: string;
|
|
1771
1798
|
screen_name: string;
|
|
1772
1799
|
statuses_count: number;
|
|
1773
1800
|
translator_type: string;
|
|
1801
|
+
url: string;
|
|
1774
1802
|
verified: boolean;
|
|
1803
|
+
verified_type?: string;
|
|
1775
1804
|
want_retweets: boolean;
|
|
1776
1805
|
withheld_in_countries: unknown[];
|
|
1777
|
-
url?: string;
|
|
1778
1806
|
};
|
|
1779
1807
|
professional?: {
|
|
1780
1808
|
rest_id: string;
|
|
@@ -1785,113 +1813,224 @@ export interface CustomTimelineTweetEntry {
|
|
|
1785
1813
|
icon_name: string;
|
|
1786
1814
|
}[];
|
|
1787
1815
|
};
|
|
1788
|
-
super_follow_eligible?: boolean;
|
|
1789
1816
|
};
|
|
1790
|
-
};
|
|
1791
|
-
};
|
|
1792
|
-
title?: string;
|
|
1793
|
-
description?: string;
|
|
1794
|
-
call_to_actions?: {
|
|
1795
|
-
watch_now: {
|
|
1796
|
-
url: string;
|
|
1797
|
-
};
|
|
1817
|
+
}[];
|
|
1798
1818
|
};
|
|
1799
|
-
embeddable?: boolean;
|
|
1800
1819
|
};
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
};
|
|
1804
|
-
ext_media_availability: {
|
|
1805
|
-
status: string;
|
|
1820
|
+
unified_card?: {
|
|
1821
|
+
card_fetch_state: string;
|
|
1806
1822
|
};
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1823
|
+
note_tweet?: {
|
|
1824
|
+
is_expandable: boolean;
|
|
1825
|
+
note_tweet_results: {
|
|
1826
|
+
result: {
|
|
1827
|
+
id: string;
|
|
1828
|
+
text: string;
|
|
1829
|
+
entity_set: {
|
|
1830
|
+
user_mentions: {
|
|
1831
|
+
id_str: string;
|
|
1832
|
+
name: string;
|
|
1833
|
+
screen_name: string;
|
|
1834
|
+
indices: number[];
|
|
1835
|
+
}[];
|
|
1836
|
+
urls: {
|
|
1837
|
+
display_url: string;
|
|
1838
|
+
expanded_url: string;
|
|
1839
|
+
url: string;
|
|
1840
|
+
indices: number[];
|
|
1841
|
+
}[];
|
|
1842
|
+
hashtags: {
|
|
1843
|
+
indices: number[];
|
|
1844
|
+
text: string;
|
|
1845
|
+
}[];
|
|
1846
|
+
symbols: {
|
|
1847
|
+
indices: number[];
|
|
1848
|
+
text: string;
|
|
1849
|
+
}[];
|
|
1850
|
+
};
|
|
1851
|
+
richtext?: {
|
|
1852
|
+
richtext_tags: {
|
|
1853
|
+
from_index: number;
|
|
1854
|
+
to_index: number;
|
|
1855
|
+
richtext_types: string[];
|
|
1856
|
+
}[];
|
|
1857
|
+
};
|
|
1858
|
+
media?: {
|
|
1859
|
+
inline_media: unknown[];
|
|
1860
|
+
};
|
|
1861
|
+
};
|
|
1815
1862
|
};
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1863
|
+
};
|
|
1864
|
+
edit_perspective?: {
|
|
1865
|
+
favorited: boolean;
|
|
1866
|
+
retweeted: boolean;
|
|
1867
|
+
};
|
|
1868
|
+
previous_counts?: {
|
|
1869
|
+
bookmark_count: number;
|
|
1870
|
+
favorite_count: number;
|
|
1871
|
+
quote_count: number;
|
|
1872
|
+
reply_count: number;
|
|
1873
|
+
retweet_count: number;
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
quoted_status_id_str?: string;
|
|
1878
|
+
quoted_status_permalink?: {
|
|
1879
|
+
url: string;
|
|
1880
|
+
expanded: string;
|
|
1881
|
+
display: string;
|
|
1882
|
+
};
|
|
1883
|
+
place?: {
|
|
1884
|
+
attributes: {};
|
|
1885
|
+
bounding_box: {
|
|
1886
|
+
coordinates: number[][][];
|
|
1887
|
+
type: string;
|
|
1888
|
+
};
|
|
1889
|
+
contained_within: unknown[];
|
|
1890
|
+
country: string;
|
|
1891
|
+
country_code: string;
|
|
1892
|
+
full_name: string;
|
|
1893
|
+
name: string;
|
|
1894
|
+
id: string;
|
|
1895
|
+
place_type: string;
|
|
1896
|
+
url: string;
|
|
1897
|
+
};
|
|
1898
|
+
in_reply_to_screen_name?: string;
|
|
1899
|
+
in_reply_to_status_id_str?: string;
|
|
1900
|
+
in_reply_to_user_id_str?: string;
|
|
1901
|
+
};
|
|
1902
|
+
card?: {
|
|
1903
|
+
rest_id: string;
|
|
1904
|
+
legacy: {
|
|
1905
|
+
binding_values: {
|
|
1906
|
+
key: string;
|
|
1907
|
+
value: {
|
|
1908
|
+
image_value?: {
|
|
1909
|
+
height: number;
|
|
1910
|
+
width: number;
|
|
1911
|
+
url: string;
|
|
1823
1912
|
};
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
}[];
|
|
1913
|
+
type: string;
|
|
1914
|
+
string_value?: string;
|
|
1915
|
+
scribe_key?: string;
|
|
1916
|
+
user_value?: {
|
|
1917
|
+
id_str: string;
|
|
1918
|
+
path: unknown[];
|
|
1831
1919
|
};
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1920
|
+
image_color_value?: {
|
|
1921
|
+
palette: {
|
|
1922
|
+
rgb: {
|
|
1923
|
+
blue: number;
|
|
1924
|
+
green: number;
|
|
1925
|
+
red: number;
|
|
1926
|
+
};
|
|
1927
|
+
percentage: number;
|
|
1838
1928
|
}[];
|
|
1839
1929
|
};
|
|
1930
|
+
boolean_value?: boolean;
|
|
1840
1931
|
};
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
};
|
|
1847
|
-
medium: {
|
|
1848
|
-
h: number;
|
|
1849
|
-
w: number;
|
|
1850
|
-
resize: string;
|
|
1851
|
-
};
|
|
1852
|
-
small: {
|
|
1853
|
-
h: number;
|
|
1854
|
-
w: number;
|
|
1855
|
-
resize: string;
|
|
1932
|
+
}[];
|
|
1933
|
+
card_platform: {
|
|
1934
|
+
platform: {
|
|
1935
|
+
audience: {
|
|
1936
|
+
name: string;
|
|
1856
1937
|
};
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
resize: string;
|
|
1938
|
+
device: {
|
|
1939
|
+
name: string;
|
|
1940
|
+
version: string;
|
|
1861
1941
|
};
|
|
1862
1942
|
};
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1943
|
+
};
|
|
1944
|
+
name: string;
|
|
1945
|
+
url: string;
|
|
1946
|
+
user_refs_results: {
|
|
1947
|
+
result: {
|
|
1948
|
+
__typename: string;
|
|
1949
|
+
id: string;
|
|
1950
|
+
rest_id: string;
|
|
1951
|
+
affiliates_highlighted_label: {
|
|
1952
|
+
label?: {
|
|
1953
|
+
url: {
|
|
1954
|
+
url: string;
|
|
1955
|
+
urlType: string;
|
|
1956
|
+
};
|
|
1957
|
+
badge: {
|
|
1958
|
+
url: string;
|
|
1959
|
+
};
|
|
1960
|
+
description: string;
|
|
1961
|
+
userLabelType: string;
|
|
1962
|
+
userLabelDisplayType: string;
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
has_graduated_access: boolean;
|
|
1966
|
+
is_blue_verified: boolean;
|
|
1967
|
+
profile_image_shape: string;
|
|
1968
|
+
legacy: {
|
|
1969
|
+
can_dm: boolean;
|
|
1970
|
+
can_media_tag: boolean;
|
|
1971
|
+
created_at: string;
|
|
1972
|
+
default_profile: boolean;
|
|
1973
|
+
default_profile_image: boolean;
|
|
1974
|
+
description: string;
|
|
1975
|
+
entities: {
|
|
1976
|
+
description: {
|
|
1977
|
+
urls: {
|
|
1978
|
+
display_url: string;
|
|
1979
|
+
expanded_url: string;
|
|
1980
|
+
url: string;
|
|
1981
|
+
indices: number[];
|
|
1982
|
+
}[];
|
|
1983
|
+
};
|
|
1984
|
+
url: {
|
|
1985
|
+
urls: {
|
|
1986
|
+
display_url?: string;
|
|
1987
|
+
expanded_url?: string;
|
|
1988
|
+
url: string;
|
|
1989
|
+
indices: number[];
|
|
1990
|
+
}[];
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
1993
|
+
fast_followers_count: number;
|
|
1994
|
+
favourites_count: number;
|
|
1995
|
+
followers_count: number;
|
|
1996
|
+
friends_count: number;
|
|
1997
|
+
has_custom_timelines: boolean;
|
|
1998
|
+
is_translator: boolean;
|
|
1999
|
+
listed_count: number;
|
|
2000
|
+
location: string;
|
|
2001
|
+
media_count: number;
|
|
2002
|
+
name: string;
|
|
2003
|
+
normal_followers_count: number;
|
|
2004
|
+
pinned_tweet_ids_str: string[];
|
|
2005
|
+
possibly_sensitive: boolean;
|
|
2006
|
+
profile_banner_url: string;
|
|
2007
|
+
profile_image_url_https: string;
|
|
2008
|
+
profile_interstitial_type: string;
|
|
2009
|
+
screen_name: string;
|
|
2010
|
+
statuses_count: number;
|
|
2011
|
+
translator_type: string;
|
|
1879
2012
|
url: string;
|
|
1880
|
-
|
|
2013
|
+
verified: boolean;
|
|
2014
|
+
verified_type?: string;
|
|
2015
|
+
want_retweets: boolean;
|
|
2016
|
+
withheld_in_countries: unknown[];
|
|
2017
|
+
protected?: boolean;
|
|
2018
|
+
};
|
|
2019
|
+
professional?: {
|
|
2020
|
+
rest_id: string;
|
|
2021
|
+
professional_type: string;
|
|
2022
|
+
category: {
|
|
2023
|
+
id: number;
|
|
2024
|
+
name: string;
|
|
2025
|
+
icon_name: string;
|
|
2026
|
+
}[];
|
|
2027
|
+
};
|
|
1881
2028
|
};
|
|
1882
|
-
source_status_id_str?: string;
|
|
1883
|
-
source_user_id_str?: string;
|
|
1884
|
-
ext_alt_text?: string;
|
|
1885
2029
|
}[];
|
|
1886
2030
|
};
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
quoted_status_permalink?: {
|
|
1891
|
-
url: string;
|
|
1892
|
-
expanded: string;
|
|
1893
|
-
display: string;
|
|
1894
|
-
};
|
|
2031
|
+
};
|
|
2032
|
+
unified_card?: {
|
|
2033
|
+
card_fetch_state: string;
|
|
1895
2034
|
};
|
|
1896
2035
|
quoted_status_result?: {
|
|
1897
2036
|
result: {
|
|
@@ -1903,7 +2042,20 @@ export interface CustomTimelineTweetEntry {
|
|
|
1903
2042
|
__typename: string;
|
|
1904
2043
|
id: string;
|
|
1905
2044
|
rest_id: string;
|
|
1906
|
-
affiliates_highlighted_label: {
|
|
2045
|
+
affiliates_highlighted_label: {
|
|
2046
|
+
label?: {
|
|
2047
|
+
url: {
|
|
2048
|
+
url: string;
|
|
2049
|
+
urlType: string;
|
|
2050
|
+
};
|
|
2051
|
+
badge: {
|
|
2052
|
+
url: string;
|
|
2053
|
+
};
|
|
2054
|
+
description: string;
|
|
2055
|
+
userLabelType: string;
|
|
2056
|
+
userLabelDisplayType: string;
|
|
2057
|
+
};
|
|
2058
|
+
};
|
|
1907
2059
|
has_graduated_access: boolean;
|
|
1908
2060
|
is_blue_verified: boolean;
|
|
1909
2061
|
profile_image_shape: string;
|
|
@@ -1956,6 +2108,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
1956
2108
|
withheld_in_countries: unknown[];
|
|
1957
2109
|
url?: string;
|
|
1958
2110
|
verified_type?: string;
|
|
2111
|
+
following?: boolean;
|
|
1959
2112
|
};
|
|
1960
2113
|
professional?: {
|
|
1961
2114
|
rest_id: string;
|
|
@@ -1975,13 +2128,9 @@ export interface CustomTimelineTweetEntry {
|
|
|
1975
2128
|
is_edit_eligible: boolean;
|
|
1976
2129
|
edits_remaining: string;
|
|
1977
2130
|
};
|
|
1978
|
-
edit_perspective?: {
|
|
1979
|
-
favorited: boolean;
|
|
1980
|
-
retweeted: boolean;
|
|
1981
|
-
};
|
|
1982
2131
|
is_translatable: boolean;
|
|
1983
2132
|
views: {
|
|
1984
|
-
count
|
|
2133
|
+
count?: string;
|
|
1985
2134
|
state: string;
|
|
1986
2135
|
};
|
|
1987
2136
|
source: string;
|
|
@@ -1992,23 +2141,6 @@ export interface CustomTimelineTweetEntry {
|
|
|
1992
2141
|
conversation_id_str: string;
|
|
1993
2142
|
display_text_range: number[];
|
|
1994
2143
|
entities: {
|
|
1995
|
-
user_mentions: {
|
|
1996
|
-
id_str: string;
|
|
1997
|
-
name: string;
|
|
1998
|
-
screen_name: string;
|
|
1999
|
-
indices: number[];
|
|
2000
|
-
}[];
|
|
2001
|
-
urls: {
|
|
2002
|
-
display_url: string;
|
|
2003
|
-
expanded_url: string;
|
|
2004
|
-
url: string;
|
|
2005
|
-
indices: number[];
|
|
2006
|
-
}[];
|
|
2007
|
-
hashtags: {
|
|
2008
|
-
indices: number[];
|
|
2009
|
-
text: string;
|
|
2010
|
-
}[];
|
|
2011
|
-
symbols: unknown[];
|
|
2012
2144
|
media?: {
|
|
2013
2145
|
display_url: string;
|
|
2014
2146
|
expanded_url: string;
|
|
@@ -2050,6 +2182,14 @@ export interface CustomTimelineTweetEntry {
|
|
|
2050
2182
|
w: number;
|
|
2051
2183
|
}[];
|
|
2052
2184
|
};
|
|
2185
|
+
all?: {
|
|
2186
|
+
tags: {
|
|
2187
|
+
user_id: string;
|
|
2188
|
+
name: string;
|
|
2189
|
+
screen_name: string;
|
|
2190
|
+
type: string;
|
|
2191
|
+
}[];
|
|
2192
|
+
};
|
|
2053
2193
|
};
|
|
2054
2194
|
sizes: {
|
|
2055
2195
|
large: {
|
|
@@ -2086,18 +2226,24 @@ export interface CustomTimelineTweetEntry {
|
|
|
2086
2226
|
source_status_id_str?: string;
|
|
2087
2227
|
source_user_id_str?: string;
|
|
2088
2228
|
}[];
|
|
2229
|
+
user_mentions: {
|
|
2230
|
+
id_str: string;
|
|
2231
|
+
name: string;
|
|
2232
|
+
screen_name: string;
|
|
2233
|
+
indices: number[];
|
|
2234
|
+
}[];
|
|
2235
|
+
urls: {
|
|
2236
|
+
display_url: string;
|
|
2237
|
+
expanded_url: string;
|
|
2238
|
+
url: string;
|
|
2239
|
+
indices: number[];
|
|
2240
|
+
}[];
|
|
2241
|
+
hashtags: {
|
|
2242
|
+
indices: number[];
|
|
2243
|
+
text: string;
|
|
2244
|
+
}[];
|
|
2245
|
+
symbols: unknown[];
|
|
2089
2246
|
};
|
|
2090
|
-
favorite_count: number;
|
|
2091
|
-
favorited: boolean;
|
|
2092
|
-
full_text: string;
|
|
2093
|
-
is_quote_status: boolean;
|
|
2094
|
-
lang: string;
|
|
2095
|
-
quote_count: number;
|
|
2096
|
-
reply_count: number;
|
|
2097
|
-
retweet_count: number;
|
|
2098
|
-
retweeted: boolean;
|
|
2099
|
-
user_id_str: string;
|
|
2100
|
-
id_str: string;
|
|
2101
2247
|
extended_entities?: {
|
|
2102
2248
|
media: {
|
|
2103
2249
|
display_url: string;
|
|
@@ -2144,6 +2290,14 @@ export interface CustomTimelineTweetEntry {
|
|
|
2144
2290
|
w: number;
|
|
2145
2291
|
}[];
|
|
2146
2292
|
};
|
|
2293
|
+
all?: {
|
|
2294
|
+
tags: {
|
|
2295
|
+
user_id: string;
|
|
2296
|
+
name: string;
|
|
2297
|
+
screen_name: string;
|
|
2298
|
+
type: string;
|
|
2299
|
+
}[];
|
|
2300
|
+
};
|
|
2147
2301
|
};
|
|
2148
2302
|
sizes: {
|
|
2149
2303
|
large: {
|
|
@@ -2179,32 +2333,58 @@ export interface CustomTimelineTweetEntry {
|
|
|
2179
2333
|
};
|
|
2180
2334
|
source_status_id_str?: string;
|
|
2181
2335
|
source_user_id_str?: string;
|
|
2336
|
+
additional_media_info?: {
|
|
2337
|
+
monetizable: boolean;
|
|
2338
|
+
};
|
|
2339
|
+
mediaStats?: {
|
|
2340
|
+
viewCount: number;
|
|
2341
|
+
};
|
|
2182
2342
|
video_info?: {
|
|
2183
2343
|
aspect_ratio: number[];
|
|
2344
|
+
duration_millis?: number;
|
|
2184
2345
|
variants: {
|
|
2185
|
-
bitrate?: number;
|
|
2186
2346
|
content_type: string;
|
|
2187
2347
|
url: string;
|
|
2348
|
+
bitrate?: number;
|
|
2188
2349
|
}[];
|
|
2189
|
-
duration_millis?: number;
|
|
2190
|
-
};
|
|
2191
|
-
additional_media_info?: {
|
|
2192
|
-
monetizable: boolean;
|
|
2193
|
-
};
|
|
2194
|
-
mediaStats?: {
|
|
2195
|
-
viewCount: number;
|
|
2196
2350
|
};
|
|
2197
2351
|
ext_alt_text?: string;
|
|
2198
2352
|
}[];
|
|
2199
2353
|
};
|
|
2354
|
+
favorite_count: number;
|
|
2355
|
+
favorited: boolean;
|
|
2356
|
+
full_text: string;
|
|
2357
|
+
is_quote_status: boolean;
|
|
2358
|
+
lang: string;
|
|
2200
2359
|
possibly_sensitive?: boolean;
|
|
2201
2360
|
possibly_sensitive_editable?: boolean;
|
|
2361
|
+
quote_count: number;
|
|
2362
|
+
reply_count: number;
|
|
2363
|
+
retweet_count: number;
|
|
2364
|
+
retweeted: boolean;
|
|
2365
|
+
user_id_str: string;
|
|
2366
|
+
id_str: string;
|
|
2202
2367
|
quoted_status_id_str?: string;
|
|
2203
2368
|
quoted_status_permalink?: {
|
|
2204
2369
|
url: string;
|
|
2205
2370
|
expanded: string;
|
|
2206
2371
|
display: string;
|
|
2207
2372
|
};
|
|
2373
|
+
place?: {
|
|
2374
|
+
attributes: {};
|
|
2375
|
+
bounding_box: {
|
|
2376
|
+
coordinates: number[][][];
|
|
2377
|
+
type: string;
|
|
2378
|
+
};
|
|
2379
|
+
contained_within: unknown[];
|
|
2380
|
+
country: string;
|
|
2381
|
+
country_code: string;
|
|
2382
|
+
full_name: string;
|
|
2383
|
+
name: string;
|
|
2384
|
+
id: string;
|
|
2385
|
+
place_type: string;
|
|
2386
|
+
url: string;
|
|
2387
|
+
};
|
|
2208
2388
|
};
|
|
2209
2389
|
quotedRefResult?: {
|
|
2210
2390
|
result: {
|
|
@@ -2212,8 +2392,155 @@ export interface CustomTimelineTweetEntry {
|
|
|
2212
2392
|
rest_id: string;
|
|
2213
2393
|
};
|
|
2214
2394
|
};
|
|
2395
|
+
card?: {
|
|
2396
|
+
rest_id: string;
|
|
2397
|
+
legacy: {
|
|
2398
|
+
binding_values: {
|
|
2399
|
+
key: string;
|
|
2400
|
+
value: {
|
|
2401
|
+
image_value?: {
|
|
2402
|
+
height: number;
|
|
2403
|
+
width: number;
|
|
2404
|
+
url: string;
|
|
2405
|
+
};
|
|
2406
|
+
type: string;
|
|
2407
|
+
string_value?: string;
|
|
2408
|
+
scribe_key?: string;
|
|
2409
|
+
user_value?: {
|
|
2410
|
+
id_str: string;
|
|
2411
|
+
path: unknown[];
|
|
2412
|
+
};
|
|
2413
|
+
image_color_value?: {
|
|
2414
|
+
palette: {
|
|
2415
|
+
rgb: {
|
|
2416
|
+
blue: number;
|
|
2417
|
+
green: number;
|
|
2418
|
+
red: number;
|
|
2419
|
+
};
|
|
2420
|
+
percentage: number;
|
|
2421
|
+
}[];
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
}[];
|
|
2425
|
+
card_platform: {
|
|
2426
|
+
platform: {
|
|
2427
|
+
audience: {
|
|
2428
|
+
name: string;
|
|
2429
|
+
};
|
|
2430
|
+
device: {
|
|
2431
|
+
name: string;
|
|
2432
|
+
version: string;
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
};
|
|
2436
|
+
name: string;
|
|
2437
|
+
url: string;
|
|
2438
|
+
user_refs_results: {
|
|
2439
|
+
result: {
|
|
2440
|
+
__typename: string;
|
|
2441
|
+
id: string;
|
|
2442
|
+
rest_id: string;
|
|
2443
|
+
affiliates_highlighted_label: {};
|
|
2444
|
+
has_graduated_access: boolean;
|
|
2445
|
+
is_blue_verified: boolean;
|
|
2446
|
+
profile_image_shape: string;
|
|
2447
|
+
legacy: {
|
|
2448
|
+
can_dm: boolean;
|
|
2449
|
+
can_media_tag: boolean;
|
|
2450
|
+
created_at: string;
|
|
2451
|
+
default_profile: boolean;
|
|
2452
|
+
default_profile_image: boolean;
|
|
2453
|
+
description: string;
|
|
2454
|
+
entities: {
|
|
2455
|
+
description: {
|
|
2456
|
+
urls: unknown[];
|
|
2457
|
+
};
|
|
2458
|
+
url: {
|
|
2459
|
+
urls: {
|
|
2460
|
+
display_url: string;
|
|
2461
|
+
expanded_url: string;
|
|
2462
|
+
url: string;
|
|
2463
|
+
indices: number[];
|
|
2464
|
+
}[];
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
fast_followers_count: number;
|
|
2468
|
+
favourites_count: number;
|
|
2469
|
+
followers_count: number;
|
|
2470
|
+
friends_count: number;
|
|
2471
|
+
has_custom_timelines: boolean;
|
|
2472
|
+
is_translator: boolean;
|
|
2473
|
+
listed_count: number;
|
|
2474
|
+
location: string;
|
|
2475
|
+
media_count: number;
|
|
2476
|
+
name: string;
|
|
2477
|
+
normal_followers_count: number;
|
|
2478
|
+
pinned_tweet_ids_str: unknown[];
|
|
2479
|
+
possibly_sensitive: boolean;
|
|
2480
|
+
profile_banner_url: string;
|
|
2481
|
+
profile_image_url_https: string;
|
|
2482
|
+
profile_interstitial_type: string;
|
|
2483
|
+
screen_name: string;
|
|
2484
|
+
statuses_count: number;
|
|
2485
|
+
translator_type: string;
|
|
2486
|
+
url: string;
|
|
2487
|
+
verified: boolean;
|
|
2488
|
+
want_retweets: boolean;
|
|
2489
|
+
withheld_in_countries: unknown[];
|
|
2490
|
+
};
|
|
2491
|
+
};
|
|
2492
|
+
}[];
|
|
2493
|
+
};
|
|
2494
|
+
};
|
|
2495
|
+
unified_card?: {
|
|
2496
|
+
card_fetch_state: string;
|
|
2497
|
+
};
|
|
2498
|
+
note_tweet?: {
|
|
2499
|
+
is_expandable: boolean;
|
|
2500
|
+
note_tweet_results: {
|
|
2501
|
+
result: {
|
|
2502
|
+
id: string;
|
|
2503
|
+
text: string;
|
|
2504
|
+
entity_set: {
|
|
2505
|
+
user_mentions: unknown[];
|
|
2506
|
+
urls: {
|
|
2507
|
+
display_url: string;
|
|
2508
|
+
expanded_url: string;
|
|
2509
|
+
url: string;
|
|
2510
|
+
indices: number[];
|
|
2511
|
+
}[];
|
|
2512
|
+
hashtags: {
|
|
2513
|
+
indices: number[];
|
|
2514
|
+
text: string;
|
|
2515
|
+
}[];
|
|
2516
|
+
symbols: unknown[];
|
|
2517
|
+
};
|
|
2518
|
+
richtext: {
|
|
2519
|
+
richtext_tags: unknown[];
|
|
2520
|
+
};
|
|
2521
|
+
media: {
|
|
2522
|
+
inline_media: unknown[];
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
edit_perspective?: {
|
|
2528
|
+
favorited: boolean;
|
|
2529
|
+
retweeted: boolean;
|
|
2530
|
+
};
|
|
2215
2531
|
};
|
|
2216
2532
|
};
|
|
2533
|
+
previous_counts?: {
|
|
2534
|
+
bookmark_count: number;
|
|
2535
|
+
favorite_count: number;
|
|
2536
|
+
quote_count: number;
|
|
2537
|
+
reply_count: number;
|
|
2538
|
+
retweet_count: number;
|
|
2539
|
+
};
|
|
2540
|
+
edit_perspective?: {
|
|
2541
|
+
favorited: boolean;
|
|
2542
|
+
retweeted: boolean;
|
|
2543
|
+
};
|
|
2217
2544
|
tweet?: {
|
|
2218
2545
|
rest_id: string;
|
|
2219
2546
|
core: {
|
|
@@ -2227,7 +2554,8 @@ export interface CustomTimelineTweetEntry {
|
|
|
2227
2554
|
is_blue_verified: boolean;
|
|
2228
2555
|
profile_image_shape: string;
|
|
2229
2556
|
legacy: {
|
|
2230
|
-
|
|
2557
|
+
followed_by?: boolean;
|
|
2558
|
+
following?: boolean;
|
|
2231
2559
|
can_dm: boolean;
|
|
2232
2560
|
can_media_tag: boolean;
|
|
2233
2561
|
created_at: string;
|
|
@@ -2238,6 +2566,14 @@ export interface CustomTimelineTweetEntry {
|
|
|
2238
2566
|
description: {
|
|
2239
2567
|
urls: unknown[];
|
|
2240
2568
|
};
|
|
2569
|
+
url?: {
|
|
2570
|
+
urls: {
|
|
2571
|
+
display_url: string;
|
|
2572
|
+
expanded_url: string;
|
|
2573
|
+
url: string;
|
|
2574
|
+
indices: number[];
|
|
2575
|
+
}[];
|
|
2576
|
+
};
|
|
2241
2577
|
};
|
|
2242
2578
|
fast_followers_count: number;
|
|
2243
2579
|
favourites_count: number;
|
|
@@ -2250,7 +2586,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
2250
2586
|
media_count: number;
|
|
2251
2587
|
name: string;
|
|
2252
2588
|
normal_followers_count: number;
|
|
2253
|
-
pinned_tweet_ids_str:
|
|
2589
|
+
pinned_tweet_ids_str: string[];
|
|
2254
2590
|
possibly_sensitive: boolean;
|
|
2255
2591
|
profile_banner_url: string;
|
|
2256
2592
|
profile_image_url_https: string;
|
|
@@ -2261,7 +2597,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
2261
2597
|
verified: boolean;
|
|
2262
2598
|
want_retweets: boolean;
|
|
2263
2599
|
withheld_in_countries: unknown[];
|
|
2264
|
-
|
|
2600
|
+
url?: string;
|
|
2265
2601
|
};
|
|
2266
2602
|
};
|
|
2267
2603
|
};
|
|
@@ -2272,13 +2608,14 @@ export interface CustomTimelineTweetEntry {
|
|
|
2272
2608
|
is_edit_eligible: boolean;
|
|
2273
2609
|
edits_remaining: string;
|
|
2274
2610
|
};
|
|
2275
|
-
edit_perspective
|
|
2611
|
+
edit_perspective?: {
|
|
2276
2612
|
favorited: boolean;
|
|
2277
2613
|
retweeted: boolean;
|
|
2278
2614
|
};
|
|
2279
2615
|
is_translatable: boolean;
|
|
2280
2616
|
views: {
|
|
2281
2617
|
state: string;
|
|
2618
|
+
count?: string;
|
|
2282
2619
|
};
|
|
2283
2620
|
source: string;
|
|
2284
2621
|
legacy: {
|
|
@@ -2315,7 +2652,84 @@ export interface CustomTimelineTweetEntry {
|
|
|
2315
2652
|
indices: number[];
|
|
2316
2653
|
text: string;
|
|
2317
2654
|
}[];
|
|
2318
|
-
symbols: unknown[];
|
|
2655
|
+
symbols: unknown[];
|
|
2656
|
+
media?: {
|
|
2657
|
+
display_url: string;
|
|
2658
|
+
expanded_url: string;
|
|
2659
|
+
id_str: string;
|
|
2660
|
+
indices: number[];
|
|
2661
|
+
media_url_https: string;
|
|
2662
|
+
source_status_id_str?: string;
|
|
2663
|
+
source_user_id_str?: string;
|
|
2664
|
+
type: string;
|
|
2665
|
+
url: string;
|
|
2666
|
+
features: {
|
|
2667
|
+
large?: {
|
|
2668
|
+
faces: {
|
|
2669
|
+
x: number;
|
|
2670
|
+
y: number;
|
|
2671
|
+
h: number;
|
|
2672
|
+
w: number;
|
|
2673
|
+
}[];
|
|
2674
|
+
};
|
|
2675
|
+
medium?: {
|
|
2676
|
+
faces: {
|
|
2677
|
+
x: number;
|
|
2678
|
+
y: number;
|
|
2679
|
+
h: number;
|
|
2680
|
+
w: number;
|
|
2681
|
+
}[];
|
|
2682
|
+
};
|
|
2683
|
+
small?: {
|
|
2684
|
+
faces: {
|
|
2685
|
+
x: number;
|
|
2686
|
+
y: number;
|
|
2687
|
+
h: number;
|
|
2688
|
+
w: number;
|
|
2689
|
+
}[];
|
|
2690
|
+
};
|
|
2691
|
+
orig?: {
|
|
2692
|
+
faces: {
|
|
2693
|
+
x: number;
|
|
2694
|
+
y: number;
|
|
2695
|
+
h: number;
|
|
2696
|
+
w: number;
|
|
2697
|
+
}[];
|
|
2698
|
+
};
|
|
2699
|
+
};
|
|
2700
|
+
sizes: {
|
|
2701
|
+
large: {
|
|
2702
|
+
h: number;
|
|
2703
|
+
w: number;
|
|
2704
|
+
resize: string;
|
|
2705
|
+
};
|
|
2706
|
+
medium: {
|
|
2707
|
+
h: number;
|
|
2708
|
+
w: number;
|
|
2709
|
+
resize: string;
|
|
2710
|
+
};
|
|
2711
|
+
small: {
|
|
2712
|
+
h: number;
|
|
2713
|
+
w: number;
|
|
2714
|
+
resize: string;
|
|
2715
|
+
};
|
|
2716
|
+
thumb: {
|
|
2717
|
+
h: number;
|
|
2718
|
+
w: number;
|
|
2719
|
+
resize: string;
|
|
2720
|
+
};
|
|
2721
|
+
};
|
|
2722
|
+
original_info: {
|
|
2723
|
+
height: number;
|
|
2724
|
+
width: number;
|
|
2725
|
+
focus_rects?: {
|
|
2726
|
+
x: number;
|
|
2727
|
+
y: number;
|
|
2728
|
+
w: number;
|
|
2729
|
+
h: number;
|
|
2730
|
+
}[];
|
|
2731
|
+
};
|
|
2732
|
+
}[];
|
|
2319
2733
|
};
|
|
2320
2734
|
favorite_count: number;
|
|
2321
2735
|
favorited: boolean;
|
|
@@ -2329,7 +2743,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
2329
2743
|
retweeted: boolean;
|
|
2330
2744
|
user_id_str: string;
|
|
2331
2745
|
id_str: string;
|
|
2332
|
-
retweeted_status_result
|
|
2746
|
+
retweeted_status_result?: {
|
|
2333
2747
|
result: {
|
|
2334
2748
|
__typename: string;
|
|
2335
2749
|
tweet: {
|
|
@@ -2392,16 +2806,11 @@ export interface CustomTimelineTweetEntry {
|
|
|
2392
2806
|
verified: boolean;
|
|
2393
2807
|
want_retweets: boolean;
|
|
2394
2808
|
withheld_in_countries: unknown[];
|
|
2395
|
-
verified_type?: string;
|
|
2396
2809
|
};
|
|
2397
2810
|
professional?: {
|
|
2398
2811
|
rest_id: string;
|
|
2399
2812
|
professional_type: string;
|
|
2400
|
-
category:
|
|
2401
|
-
id: number;
|
|
2402
|
-
name: string;
|
|
2403
|
-
icon_name: string;
|
|
2404
|
-
}[];
|
|
2813
|
+
category: unknown[];
|
|
2405
2814
|
};
|
|
2406
2815
|
};
|
|
2407
2816
|
};
|
|
@@ -2412,7 +2821,7 @@ export interface CustomTimelineTweetEntry {
|
|
|
2412
2821
|
is_edit_eligible: boolean;
|
|
2413
2822
|
edits_remaining: string;
|
|
2414
2823
|
};
|
|
2415
|
-
edit_perspective
|
|
2824
|
+
edit_perspective?: {
|
|
2416
2825
|
favorited: boolean;
|
|
2417
2826
|
retweeted: boolean;
|
|
2418
2827
|
};
|
|
@@ -2543,6 +2952,12 @@ export interface CustomTimelineTweetEntry {
|
|
|
2543
2952
|
media_url_https: string;
|
|
2544
2953
|
type: string;
|
|
2545
2954
|
url: string;
|
|
2955
|
+
additional_media_info?: {
|
|
2956
|
+
monetizable: boolean;
|
|
2957
|
+
};
|
|
2958
|
+
mediaStats?: {
|
|
2959
|
+
viewCount: number;
|
|
2960
|
+
};
|
|
2546
2961
|
ext_media_availability: {
|
|
2547
2962
|
status: string;
|
|
2548
2963
|
};
|
|
@@ -2612,19 +3027,13 @@ export interface CustomTimelineTweetEntry {
|
|
|
2612
3027
|
h: number;
|
|
2613
3028
|
}[];
|
|
2614
3029
|
};
|
|
2615
|
-
additional_media_info?: {
|
|
2616
|
-
monetizable: boolean;
|
|
2617
|
-
};
|
|
2618
|
-
mediaStats?: {
|
|
2619
|
-
viewCount: number;
|
|
2620
|
-
};
|
|
2621
3030
|
video_info?: {
|
|
2622
3031
|
aspect_ratio: number[];
|
|
2623
3032
|
duration_millis: number;
|
|
2624
3033
|
variants: {
|
|
3034
|
+
bitrate?: number;
|
|
2625
3035
|
content_type: string;
|
|
2626
3036
|
url: string;
|
|
2627
|
-
bitrate?: number;
|
|
2628
3037
|
}[];
|
|
2629
3038
|
};
|
|
2630
3039
|
}[];
|
|
@@ -2644,266 +3053,183 @@ export interface CustomTimelineTweetEntry {
|
|
|
2644
3053
|
user_id_str: string;
|
|
2645
3054
|
id_str: string;
|
|
2646
3055
|
};
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
3056
|
+
};
|
|
3057
|
+
limitedActionResults: {
|
|
3058
|
+
limited_actions: {
|
|
3059
|
+
action: string;
|
|
3060
|
+
prompt: {
|
|
3061
|
+
__typename: string;
|
|
3062
|
+
cta_type: string;
|
|
3063
|
+
headline: {
|
|
2652
3064
|
text: string;
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
url: string;
|
|
2659
|
-
indices: number[];
|
|
2660
|
-
}[];
|
|
2661
|
-
hashtags: unknown[];
|
|
2662
|
-
symbols: unknown[];
|
|
2663
|
-
};
|
|
2664
|
-
richtext: {
|
|
2665
|
-
richtext_tags: {
|
|
2666
|
-
from_index: number;
|
|
2667
|
-
to_index: number;
|
|
2668
|
-
richtext_types: string[];
|
|
2669
|
-
}[];
|
|
2670
|
-
};
|
|
2671
|
-
media: {
|
|
2672
|
-
inline_media: unknown[];
|
|
2673
|
-
};
|
|
3065
|
+
entities: unknown[];
|
|
3066
|
+
};
|
|
3067
|
+
subtext: {
|
|
3068
|
+
text: string;
|
|
3069
|
+
entities: unknown[];
|
|
2674
3070
|
};
|
|
2675
3071
|
};
|
|
3072
|
+
}[];
|
|
3073
|
+
};
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
3076
|
+
extended_entities?: {
|
|
3077
|
+
media: {
|
|
3078
|
+
display_url: string;
|
|
3079
|
+
expanded_url: string;
|
|
3080
|
+
id_str: string;
|
|
3081
|
+
indices: number[];
|
|
3082
|
+
media_key: string;
|
|
3083
|
+
media_url_https: string;
|
|
3084
|
+
source_status_id_str?: string;
|
|
3085
|
+
source_user_id_str?: string;
|
|
3086
|
+
type: string;
|
|
3087
|
+
url: string;
|
|
3088
|
+
ext_media_availability: {
|
|
3089
|
+
status: string;
|
|
3090
|
+
};
|
|
3091
|
+
features: {
|
|
3092
|
+
large?: {
|
|
3093
|
+
faces: {
|
|
3094
|
+
x: number;
|
|
3095
|
+
y: number;
|
|
3096
|
+
h: number;
|
|
3097
|
+
w: number;
|
|
3098
|
+
}[];
|
|
2676
3099
|
};
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
3100
|
+
medium?: {
|
|
3101
|
+
faces: {
|
|
3102
|
+
x: number;
|
|
3103
|
+
y: number;
|
|
3104
|
+
h: number;
|
|
3105
|
+
w: number;
|
|
3106
|
+
}[];
|
|
3107
|
+
};
|
|
3108
|
+
small?: {
|
|
3109
|
+
faces: {
|
|
3110
|
+
x: number;
|
|
3111
|
+
y: number;
|
|
3112
|
+
h: number;
|
|
3113
|
+
w: number;
|
|
3114
|
+
}[];
|
|
3115
|
+
};
|
|
3116
|
+
orig?: {
|
|
3117
|
+
faces: {
|
|
3118
|
+
x: number;
|
|
3119
|
+
y: number;
|
|
3120
|
+
h: number;
|
|
3121
|
+
w: number;
|
|
3122
|
+
}[];
|
|
3123
|
+
};
|
|
3124
|
+
};
|
|
3125
|
+
sizes: {
|
|
3126
|
+
large: {
|
|
3127
|
+
h: number;
|
|
3128
|
+
w: number;
|
|
3129
|
+
resize: string;
|
|
3130
|
+
};
|
|
3131
|
+
medium: {
|
|
3132
|
+
h: number;
|
|
3133
|
+
w: number;
|
|
3134
|
+
resize: string;
|
|
3135
|
+
};
|
|
3136
|
+
small: {
|
|
3137
|
+
h: number;
|
|
3138
|
+
w: number;
|
|
3139
|
+
resize: string;
|
|
3140
|
+
};
|
|
3141
|
+
thumb: {
|
|
3142
|
+
h: number;
|
|
3143
|
+
w: number;
|
|
3144
|
+
resize: string;
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
3147
|
+
original_info: {
|
|
3148
|
+
height: number;
|
|
3149
|
+
width: number;
|
|
3150
|
+
focus_rects?: {
|
|
3151
|
+
x: number;
|
|
3152
|
+
y: number;
|
|
3153
|
+
w: number;
|
|
3154
|
+
h: number;
|
|
3155
|
+
}[];
|
|
3156
|
+
};
|
|
3157
|
+
additional_media_info?: {
|
|
3158
|
+
monetizable: boolean;
|
|
3159
|
+
source_user?: {
|
|
3160
|
+
user_results: {
|
|
3161
|
+
result: {
|
|
3162
|
+
__typename: string;
|
|
3163
|
+
id: string;
|
|
3164
|
+
rest_id: string;
|
|
3165
|
+
affiliates_highlighted_label: {};
|
|
3166
|
+
has_graduated_access: boolean;
|
|
3167
|
+
is_blue_verified: boolean;
|
|
3168
|
+
profile_image_shape: string;
|
|
3169
|
+
legacy: {
|
|
3170
|
+
can_dm: boolean;
|
|
3171
|
+
can_media_tag: boolean;
|
|
3172
|
+
created_at: string;
|
|
3173
|
+
default_profile: boolean;
|
|
3174
|
+
default_profile_image: boolean;
|
|
3175
|
+
description: string;
|
|
3176
|
+
entities: {
|
|
3177
|
+
description: {
|
|
3178
|
+
urls: unknown[];
|
|
3179
|
+
};
|
|
3180
|
+
url?: {
|
|
3181
|
+
urls: {
|
|
3182
|
+
display_url: string;
|
|
3183
|
+
expanded_url: string;
|
|
3184
|
+
url: string;
|
|
3185
|
+
indices: number[];
|
|
3186
|
+
}[];
|
|
2748
3187
|
};
|
|
2749
|
-
fast_followers_count: number;
|
|
2750
|
-
favourites_count: number;
|
|
2751
|
-
followers_count: number;
|
|
2752
|
-
friends_count: number;
|
|
2753
|
-
has_custom_timelines: boolean;
|
|
2754
|
-
is_translator: boolean;
|
|
2755
|
-
listed_count: number;
|
|
2756
|
-
location: string;
|
|
2757
|
-
media_count: number;
|
|
2758
|
-
name: string;
|
|
2759
|
-
normal_followers_count: number;
|
|
2760
|
-
pinned_tweet_ids_str: unknown[];
|
|
2761
|
-
possibly_sensitive: boolean;
|
|
2762
|
-
profile_banner_url: string;
|
|
2763
|
-
profile_image_url_https: string;
|
|
2764
|
-
profile_interstitial_type: string;
|
|
2765
|
-
screen_name: string;
|
|
2766
|
-
statuses_count: number;
|
|
2767
|
-
translator_type: string;
|
|
2768
|
-
url: string;
|
|
2769
|
-
verified: boolean;
|
|
2770
|
-
verified_type: string;
|
|
2771
|
-
want_retweets: boolean;
|
|
2772
|
-
withheld_in_countries: unknown[];
|
|
2773
3188
|
};
|
|
3189
|
+
fast_followers_count: number;
|
|
3190
|
+
favourites_count: number;
|
|
3191
|
+
followers_count: number;
|
|
3192
|
+
friends_count: number;
|
|
3193
|
+
has_custom_timelines: boolean;
|
|
3194
|
+
is_translator: boolean;
|
|
3195
|
+
listed_count: number;
|
|
3196
|
+
location: string;
|
|
3197
|
+
media_count: number;
|
|
3198
|
+
name: string;
|
|
3199
|
+
normal_followers_count: number;
|
|
3200
|
+
pinned_tweet_ids_str: string[];
|
|
3201
|
+
possibly_sensitive: boolean;
|
|
3202
|
+
profile_image_url_https: string;
|
|
3203
|
+
profile_interstitial_type: string;
|
|
3204
|
+
screen_name: string;
|
|
3205
|
+
statuses_count: number;
|
|
3206
|
+
translator_type: string;
|
|
3207
|
+
verified: boolean;
|
|
3208
|
+
want_retweets: boolean;
|
|
3209
|
+
withheld_in_countries: unknown[];
|
|
3210
|
+
profile_banner_url?: string;
|
|
3211
|
+
url?: string;
|
|
2774
3212
|
};
|
|
2775
|
-
}[];
|
|
2776
|
-
};
|
|
2777
|
-
};
|
|
2778
|
-
unified_card?: {
|
|
2779
|
-
card_fetch_state: string;
|
|
2780
|
-
};
|
|
2781
|
-
};
|
|
2782
|
-
limitedActionResults: {
|
|
2783
|
-
limited_actions: {
|
|
2784
|
-
action: string;
|
|
2785
|
-
prompt: {
|
|
2786
|
-
__typename: string;
|
|
2787
|
-
cta_type: string;
|
|
2788
|
-
headline: {
|
|
2789
|
-
text: string;
|
|
2790
|
-
entities: unknown[];
|
|
2791
|
-
};
|
|
2792
|
-
subtext: {
|
|
2793
|
-
text: string;
|
|
2794
|
-
entities: unknown[];
|
|
2795
3213
|
};
|
|
2796
3214
|
};
|
|
2797
|
-
}[];
|
|
2798
|
-
};
|
|
2799
|
-
};
|
|
2800
|
-
};
|
|
2801
|
-
possibly_sensitive?: boolean;
|
|
2802
|
-
possibly_sensitive_editable?: boolean;
|
|
2803
|
-
};
|
|
2804
|
-
card?: {
|
|
2805
|
-
rest_id: string;
|
|
2806
|
-
legacy: {
|
|
2807
|
-
binding_values: {
|
|
2808
|
-
key: string;
|
|
2809
|
-
value: {
|
|
2810
|
-
image_value?: {
|
|
2811
|
-
height: number;
|
|
2812
|
-
width: number;
|
|
2813
|
-
url: string;
|
|
2814
|
-
};
|
|
2815
|
-
type: string;
|
|
2816
|
-
image_color_value?: {
|
|
2817
|
-
palette: {
|
|
2818
|
-
rgb: {
|
|
2819
|
-
blue: number;
|
|
2820
|
-
green: number;
|
|
2821
|
-
red: number;
|
|
2822
|
-
};
|
|
2823
|
-
percentage: number;
|
|
2824
|
-
}[];
|
|
2825
|
-
};
|
|
2826
|
-
scribe_key?: string;
|
|
2827
|
-
user_value?: {
|
|
2828
|
-
id_str: string;
|
|
2829
|
-
path: unknown[];
|
|
2830
3215
|
};
|
|
2831
|
-
string_value?: string;
|
|
2832
3216
|
};
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
platform: {
|
|
2836
|
-
audience: {
|
|
2837
|
-
name: string;
|
|
2838
|
-
};
|
|
2839
|
-
device: {
|
|
2840
|
-
name: string;
|
|
2841
|
-
version: string;
|
|
2842
|
-
};
|
|
3217
|
+
mediaStats?: {
|
|
3218
|
+
viewCount: number;
|
|
2843
3219
|
};
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
__typename: string;
|
|
2850
|
-
id: string;
|
|
2851
|
-
rest_id: string;
|
|
2852
|
-
affiliates_highlighted_label: {};
|
|
2853
|
-
has_graduated_access: boolean;
|
|
2854
|
-
is_blue_verified: boolean;
|
|
2855
|
-
profile_image_shape: string;
|
|
2856
|
-
legacy: {
|
|
2857
|
-
can_dm: boolean;
|
|
2858
|
-
can_media_tag: boolean;
|
|
2859
|
-
created_at: string;
|
|
2860
|
-
default_profile: boolean;
|
|
2861
|
-
default_profile_image: boolean;
|
|
2862
|
-
description: string;
|
|
2863
|
-
entities: {
|
|
2864
|
-
description: {
|
|
2865
|
-
urls: unknown[];
|
|
2866
|
-
};
|
|
2867
|
-
url: {
|
|
2868
|
-
urls: {
|
|
2869
|
-
display_url: string;
|
|
2870
|
-
expanded_url: string;
|
|
2871
|
-
url: string;
|
|
2872
|
-
indices: number[];
|
|
2873
|
-
}[];
|
|
2874
|
-
};
|
|
2875
|
-
};
|
|
2876
|
-
fast_followers_count: number;
|
|
2877
|
-
favourites_count: number;
|
|
2878
|
-
followers_count: number;
|
|
2879
|
-
friends_count: number;
|
|
2880
|
-
has_custom_timelines: boolean;
|
|
2881
|
-
is_translator: boolean;
|
|
2882
|
-
listed_count: number;
|
|
2883
|
-
location: string;
|
|
2884
|
-
media_count: number;
|
|
2885
|
-
name: string;
|
|
2886
|
-
normal_followers_count: number;
|
|
2887
|
-
pinned_tweet_ids_str: unknown[];
|
|
2888
|
-
possibly_sensitive: boolean;
|
|
2889
|
-
profile_banner_url: string;
|
|
2890
|
-
profile_image_url_https: string;
|
|
2891
|
-
profile_interstitial_type: string;
|
|
2892
|
-
screen_name: string;
|
|
2893
|
-
statuses_count: number;
|
|
2894
|
-
translator_type: string;
|
|
3220
|
+
video_info?: {
|
|
3221
|
+
aspect_ratio: number[];
|
|
3222
|
+
duration_millis: number;
|
|
3223
|
+
variants: {
|
|
3224
|
+
content_type: string;
|
|
2895
3225
|
url: string;
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
want_retweets: boolean;
|
|
2899
|
-
withheld_in_countries: unknown[];
|
|
2900
|
-
};
|
|
3226
|
+
bitrate?: number;
|
|
3227
|
+
}[];
|
|
2901
3228
|
};
|
|
2902
3229
|
}[];
|
|
2903
3230
|
};
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
card_fetch_state: string;
|
|
3231
|
+
possibly_sensitive?: boolean;
|
|
3232
|
+
possibly_sensitive_editable?: boolean;
|
|
2907
3233
|
};
|
|
2908
3234
|
};
|
|
2909
3235
|
limitedActionResults?: {
|
|
@@ -2923,146 +3249,40 @@ export interface CustomTimelineTweetEntry {
|
|
|
2923
3249
|
};
|
|
2924
3250
|
}[];
|
|
2925
3251
|
};
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
scribe_key?: string;
|
|
2935
|
-
user_value?: {
|
|
3252
|
+
note_tweet?: {
|
|
3253
|
+
is_expandable: boolean;
|
|
3254
|
+
note_tweet_results: {
|
|
3255
|
+
result: {
|
|
3256
|
+
id: string;
|
|
3257
|
+
text: string;
|
|
3258
|
+
entity_set: {
|
|
3259
|
+
user_mentions: {
|
|
2936
3260
|
id_str: string;
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
3261
|
+
name: string;
|
|
3262
|
+
screen_name: string;
|
|
3263
|
+
indices: number[];
|
|
3264
|
+
}[];
|
|
3265
|
+
urls: {
|
|
3266
|
+
display_url: string;
|
|
3267
|
+
expanded_url: string;
|
|
2942
3268
|
url: string;
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
};
|
|
2951
|
-
percentage: number;
|
|
2952
|
-
}[];
|
|
2953
|
-
};
|
|
2954
|
-
boolean_value?: boolean;
|
|
3269
|
+
indices: number[];
|
|
3270
|
+
}[];
|
|
3271
|
+
hashtags: {
|
|
3272
|
+
indices: number[];
|
|
3273
|
+
text: string;
|
|
3274
|
+
}[];
|
|
3275
|
+
symbols: unknown[];
|
|
2955
3276
|
};
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
platform: {
|
|
2959
|
-
audience: {
|
|
2960
|
-
name: string;
|
|
2961
|
-
};
|
|
2962
|
-
device: {
|
|
2963
|
-
name: string;
|
|
2964
|
-
version: string;
|
|
2965
|
-
};
|
|
3277
|
+
richtext?: {
|
|
3278
|
+
richtext_tags: unknown[];
|
|
2966
3279
|
};
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
url: string;
|
|
2970
|
-
user_refs_results: {
|
|
2971
|
-
result: {
|
|
2972
|
-
__typename: string;
|
|
2973
|
-
id: string;
|
|
2974
|
-
rest_id: string;
|
|
2975
|
-
affiliates_highlighted_label: {
|
|
2976
|
-
label?: {
|
|
2977
|
-
url: {
|
|
2978
|
-
url: string;
|
|
2979
|
-
urlType: string;
|
|
2980
|
-
};
|
|
2981
|
-
badge: {
|
|
2982
|
-
url: string;
|
|
2983
|
-
};
|
|
2984
|
-
description: string;
|
|
2985
|
-
userLabelType: string;
|
|
2986
|
-
userLabelDisplayType: string;
|
|
2987
|
-
};
|
|
2988
|
-
};
|
|
2989
|
-
has_graduated_access: boolean;
|
|
2990
|
-
is_blue_verified: boolean;
|
|
2991
|
-
profile_image_shape: string;
|
|
2992
|
-
legacy: {
|
|
2993
|
-
can_dm: boolean;
|
|
2994
|
-
can_media_tag: boolean;
|
|
2995
|
-
created_at: string;
|
|
2996
|
-
default_profile: boolean;
|
|
2997
|
-
default_profile_image: boolean;
|
|
2998
|
-
description: string;
|
|
2999
|
-
entities: {
|
|
3000
|
-
description: {
|
|
3001
|
-
urls: {
|
|
3002
|
-
display_url: string;
|
|
3003
|
-
expanded_url: string;
|
|
3004
|
-
url: string;
|
|
3005
|
-
indices: number[];
|
|
3006
|
-
}[];
|
|
3007
|
-
};
|
|
3008
|
-
url?: {
|
|
3009
|
-
urls: {
|
|
3010
|
-
display_url: string;
|
|
3011
|
-
expanded_url: string;
|
|
3012
|
-
url: string;
|
|
3013
|
-
indices: number[];
|
|
3014
|
-
}[];
|
|
3015
|
-
};
|
|
3016
|
-
};
|
|
3017
|
-
fast_followers_count: number;
|
|
3018
|
-
favourites_count: number;
|
|
3019
|
-
followers_count: number;
|
|
3020
|
-
friends_count: number;
|
|
3021
|
-
has_custom_timelines: boolean;
|
|
3022
|
-
is_translator: boolean;
|
|
3023
|
-
listed_count: number;
|
|
3024
|
-
location: string;
|
|
3025
|
-
media_count: number;
|
|
3026
|
-
name: string;
|
|
3027
|
-
normal_followers_count: number;
|
|
3028
|
-
pinned_tweet_ids_str: string[];
|
|
3029
|
-
possibly_sensitive: boolean;
|
|
3030
|
-
profile_banner_url: string;
|
|
3031
|
-
profile_image_url_https: string;
|
|
3032
|
-
profile_interstitial_type: string;
|
|
3033
|
-
screen_name: string;
|
|
3034
|
-
statuses_count: number;
|
|
3035
|
-
translator_type: string;
|
|
3036
|
-
url?: string;
|
|
3037
|
-
verified: boolean;
|
|
3038
|
-
want_retweets: boolean;
|
|
3039
|
-
withheld_in_countries: unknown[];
|
|
3040
|
-
verified_type?: string;
|
|
3041
|
-
protected?: boolean;
|
|
3042
|
-
};
|
|
3043
|
-
professional?: {
|
|
3044
|
-
rest_id: string;
|
|
3045
|
-
professional_type: string;
|
|
3046
|
-
category: {
|
|
3047
|
-
id: number;
|
|
3048
|
-
name: string;
|
|
3049
|
-
icon_name: string;
|
|
3050
|
-
}[];
|
|
3051
|
-
};
|
|
3280
|
+
media?: {
|
|
3281
|
+
inline_media: unknown[];
|
|
3052
3282
|
};
|
|
3053
|
-
}
|
|
3283
|
+
};
|
|
3054
3284
|
};
|
|
3055
3285
|
};
|
|
3056
|
-
unified_card?: {
|
|
3057
|
-
card_fetch_state: string;
|
|
3058
|
-
};
|
|
3059
|
-
previous_counts?: {
|
|
3060
|
-
bookmark_count: number;
|
|
3061
|
-
favorite_count: number;
|
|
3062
|
-
quote_count: number;
|
|
3063
|
-
reply_count: number;
|
|
3064
|
-
retweet_count: number;
|
|
3065
|
-
};
|
|
3066
3286
|
};
|
|
3067
3287
|
};
|
|
3068
3288
|
tweetDisplayType: string;
|