@book000/twitterts 0.28.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/converter.d.ts +17 -1
- package/dist/converter.d.ts.map +1 -1
- package/dist/converter.js +71 -0
- package/dist/converter.js.map +1 -1
- 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 +23 -3
- package/dist/twitter.d.ts.map +1 -1
- package/dist/twitter.js +126 -1
- package/dist/twitter.js.map +1 -1
- package/dist/twitter.test.js +18 -1
- package/dist/twitter.test.js.map +1 -1
- package/package.json +3 -2
|
@@ -6,6 +6,23 @@ export interface CustomTweetLegacyObject {
|
|
|
6
6
|
conversation_id_str: string;
|
|
7
7
|
display_text_range: number[];
|
|
8
8
|
entities: {
|
|
9
|
+
user_mentions: {
|
|
10
|
+
id_str: string;
|
|
11
|
+
name: string;
|
|
12
|
+
screen_name: string;
|
|
13
|
+
indices: number[];
|
|
14
|
+
}[];
|
|
15
|
+
urls: {
|
|
16
|
+
display_url: string;
|
|
17
|
+
expanded_url: string;
|
|
18
|
+
url: string;
|
|
19
|
+
indices: number[];
|
|
20
|
+
}[];
|
|
21
|
+
hashtags: {
|
|
22
|
+
indices: number[];
|
|
23
|
+
text: string;
|
|
24
|
+
}[];
|
|
25
|
+
symbols: unknown[];
|
|
9
26
|
media?: {
|
|
10
27
|
display_url: string;
|
|
11
28
|
expanded_url: string;
|
|
@@ -91,24 +108,23 @@ export interface CustomTweetLegacyObject {
|
|
|
91
108
|
source_status_id_str?: string;
|
|
92
109
|
source_user_id_str?: string;
|
|
93
110
|
}[];
|
|
94
|
-
user_mentions: {
|
|
95
|
-
id_str: string;
|
|
96
|
-
name: string;
|
|
97
|
-
screen_name: string;
|
|
98
|
-
indices: number[];
|
|
99
|
-
}[];
|
|
100
|
-
urls: {
|
|
101
|
-
display_url: string;
|
|
102
|
-
expanded_url: string;
|
|
103
|
-
url: string;
|
|
104
|
-
indices: number[];
|
|
105
|
-
}[];
|
|
106
|
-
hashtags: {
|
|
107
|
-
indices: number[];
|
|
108
|
-
text: string;
|
|
109
|
-
}[];
|
|
110
|
-
symbols: unknown[];
|
|
111
111
|
};
|
|
112
|
+
favorite_count: number;
|
|
113
|
+
favorited: boolean;
|
|
114
|
+
full_text: string;
|
|
115
|
+
is_quote_status: boolean;
|
|
116
|
+
lang: string;
|
|
117
|
+
quote_count: number;
|
|
118
|
+
reply_count: number;
|
|
119
|
+
retweet_count: number;
|
|
120
|
+
retweeted: boolean;
|
|
121
|
+
user_id_str: string;
|
|
122
|
+
id_str: string;
|
|
123
|
+
possibly_sensitive?: boolean;
|
|
124
|
+
possibly_sensitive_editable?: boolean;
|
|
125
|
+
in_reply_to_screen_name?: string;
|
|
126
|
+
in_reply_to_status_id_str?: string;
|
|
127
|
+
in_reply_to_user_id_str?: string;
|
|
112
128
|
extended_entities?: {
|
|
113
129
|
media: {
|
|
114
130
|
display_url: string;
|
|
@@ -119,10 +135,84 @@ export interface CustomTweetLegacyObject {
|
|
|
119
135
|
media_url_https: string;
|
|
120
136
|
type: string;
|
|
121
137
|
url: string;
|
|
138
|
+
ext_media_availability: {
|
|
139
|
+
status: string;
|
|
140
|
+
};
|
|
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
|
+
};
|
|
122
215
|
additional_media_info?: {
|
|
123
|
-
title?: string;
|
|
124
|
-
description?: string;
|
|
125
|
-
embeddable?: boolean;
|
|
126
216
|
monetizable: boolean;
|
|
127
217
|
source_user?: {
|
|
128
218
|
user_results: {
|
|
@@ -163,7 +253,7 @@ export interface CustomTweetLegacyObject {
|
|
|
163
253
|
indices: number[];
|
|
164
254
|
}[];
|
|
165
255
|
};
|
|
166
|
-
url
|
|
256
|
+
url: {
|
|
167
257
|
urls: {
|
|
168
258
|
display_url: string;
|
|
169
259
|
expanded_url: string;
|
|
@@ -191,10 +281,10 @@ export interface CustomTweetLegacyObject {
|
|
|
191
281
|
screen_name: string;
|
|
192
282
|
statuses_count: number;
|
|
193
283
|
translator_type: string;
|
|
284
|
+
url: string;
|
|
194
285
|
verified: boolean;
|
|
195
286
|
want_retweets: boolean;
|
|
196
287
|
withheld_in_countries: unknown[];
|
|
197
|
-
url?: string;
|
|
198
288
|
verified_type?: string;
|
|
199
289
|
};
|
|
200
290
|
professional?: {
|
|
@@ -209,95 +299,16 @@ export interface CustomTweetLegacyObject {
|
|
|
209
299
|
};
|
|
210
300
|
};
|
|
211
301
|
};
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
};
|
|
216
|
-
};
|
|
302
|
+
title?: string;
|
|
303
|
+
description?: string;
|
|
304
|
+
embeddable?: boolean;
|
|
217
305
|
};
|
|
218
306
|
mediaStats?: {
|
|
219
307
|
viewCount: number;
|
|
220
308
|
};
|
|
221
|
-
ext_media_availability: {
|
|
222
|
-
status: string;
|
|
223
|
-
};
|
|
224
|
-
features: {
|
|
225
|
-
large?: {
|
|
226
|
-
faces: {
|
|
227
|
-
x: number;
|
|
228
|
-
y: number;
|
|
229
|
-
h: number;
|
|
230
|
-
w: number;
|
|
231
|
-
}[];
|
|
232
|
-
};
|
|
233
|
-
medium?: {
|
|
234
|
-
faces: {
|
|
235
|
-
x: number;
|
|
236
|
-
y: number;
|
|
237
|
-
h: number;
|
|
238
|
-
w: number;
|
|
239
|
-
}[];
|
|
240
|
-
};
|
|
241
|
-
small?: {
|
|
242
|
-
faces: {
|
|
243
|
-
x: number;
|
|
244
|
-
y: number;
|
|
245
|
-
h: number;
|
|
246
|
-
w: number;
|
|
247
|
-
}[];
|
|
248
|
-
};
|
|
249
|
-
orig?: {
|
|
250
|
-
faces: {
|
|
251
|
-
x: number;
|
|
252
|
-
y: number;
|
|
253
|
-
h: number;
|
|
254
|
-
w: number;
|
|
255
|
-
}[];
|
|
256
|
-
};
|
|
257
|
-
all?: {
|
|
258
|
-
tags: {
|
|
259
|
-
user_id: string;
|
|
260
|
-
name: string;
|
|
261
|
-
screen_name: string;
|
|
262
|
-
type: string;
|
|
263
|
-
}[];
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
sizes: {
|
|
267
|
-
large: {
|
|
268
|
-
h: number;
|
|
269
|
-
w: number;
|
|
270
|
-
resize: string;
|
|
271
|
-
};
|
|
272
|
-
medium: {
|
|
273
|
-
h: number;
|
|
274
|
-
w: number;
|
|
275
|
-
resize: string;
|
|
276
|
-
};
|
|
277
|
-
small: {
|
|
278
|
-
h: number;
|
|
279
|
-
w: number;
|
|
280
|
-
resize: string;
|
|
281
|
-
};
|
|
282
|
-
thumb: {
|
|
283
|
-
h: number;
|
|
284
|
-
w: number;
|
|
285
|
-
resize: string;
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
original_info: {
|
|
289
|
-
height: number;
|
|
290
|
-
width: number;
|
|
291
|
-
focus_rects?: {
|
|
292
|
-
x: number;
|
|
293
|
-
y: number;
|
|
294
|
-
w: number;
|
|
295
|
-
h: number;
|
|
296
|
-
}[];
|
|
297
|
-
};
|
|
298
309
|
video_info?: {
|
|
299
310
|
aspect_ratio: number[];
|
|
300
|
-
duration_millis
|
|
311
|
+
duration_millis: number;
|
|
301
312
|
variants: {
|
|
302
313
|
content_type: string;
|
|
303
314
|
url: string;
|
|
@@ -309,19 +320,12 @@ export interface CustomTweetLegacyObject {
|
|
|
309
320
|
ext_alt_text?: string;
|
|
310
321
|
}[];
|
|
311
322
|
};
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
possibly_sensitive_editable?: boolean;
|
|
319
|
-
quote_count: number;
|
|
320
|
-
reply_count: number;
|
|
321
|
-
retweet_count: number;
|
|
322
|
-
retweeted: boolean;
|
|
323
|
-
user_id_str: string;
|
|
324
|
-
id_str: string;
|
|
323
|
+
quoted_status_id_str?: string;
|
|
324
|
+
quoted_status_permalink?: {
|
|
325
|
+
url: string;
|
|
326
|
+
expanded: string;
|
|
327
|
+
display: string;
|
|
328
|
+
};
|
|
325
329
|
place?: {
|
|
326
330
|
attributes: {};
|
|
327
331
|
bounding_box: {
|
|
@@ -337,15 +341,6 @@ export interface CustomTweetLegacyObject {
|
|
|
337
341
|
place_type: string;
|
|
338
342
|
url: string;
|
|
339
343
|
};
|
|
340
|
-
quoted_status_id_str?: string;
|
|
341
|
-
quoted_status_permalink?: {
|
|
342
|
-
url: string;
|
|
343
|
-
expanded: string;
|
|
344
|
-
display: string;
|
|
345
|
-
};
|
|
346
|
-
in_reply_to_screen_name?: string;
|
|
347
|
-
in_reply_to_status_id_str?: string;
|
|
348
|
-
in_reply_to_user_id_str?: string;
|
|
349
344
|
retweeted_status_result?: {
|
|
350
345
|
result: {
|
|
351
346
|
__typename: string;
|
|
@@ -358,16 +353,10 @@ export interface CustomTweetLegacyObject {
|
|
|
358
353
|
rest_id: string;
|
|
359
354
|
affiliates_highlighted_label: {
|
|
360
355
|
label?: {
|
|
361
|
-
url?: {
|
|
362
|
-
url: string;
|
|
363
|
-
urlType: string;
|
|
364
|
-
};
|
|
365
356
|
badge: {
|
|
366
357
|
url: string;
|
|
367
358
|
};
|
|
368
359
|
description: string;
|
|
369
|
-
userLabelType: string;
|
|
370
|
-
userLabelDisplayType?: string;
|
|
371
360
|
longDescription?: {
|
|
372
361
|
text: string;
|
|
373
362
|
entities: {
|
|
@@ -388,11 +377,17 @@ export interface CustomTweetLegacyObject {
|
|
|
388
377
|
};
|
|
389
378
|
}[];
|
|
390
379
|
};
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
380
|
+
userLabelType: string;
|
|
381
|
+
url?: {
|
|
382
|
+
url: string;
|
|
383
|
+
urlType: string;
|
|
384
|
+
};
|
|
385
|
+
userLabelDisplayType?: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
has_graduated_access: boolean;
|
|
389
|
+
is_blue_verified: boolean;
|
|
390
|
+
profile_image_shape: string;
|
|
396
391
|
legacy: {
|
|
397
392
|
can_dm: boolean;
|
|
398
393
|
can_media_tag: boolean;
|
|
@@ -431,6 +426,7 @@ export interface CustomTweetLegacyObject {
|
|
|
431
426
|
normal_followers_count: number;
|
|
432
427
|
pinned_tweet_ids_str: string[];
|
|
433
428
|
possibly_sensitive: boolean;
|
|
429
|
+
profile_banner_url?: string;
|
|
434
430
|
profile_image_url_https: string;
|
|
435
431
|
profile_interstitial_type: string;
|
|
436
432
|
screen_name: string;
|
|
@@ -440,7 +436,6 @@ export interface CustomTweetLegacyObject {
|
|
|
440
436
|
verified: boolean;
|
|
441
437
|
want_retweets: boolean;
|
|
442
438
|
withheld_in_countries: unknown[];
|
|
443
|
-
profile_banner_url?: string;
|
|
444
439
|
verified_type?: string;
|
|
445
440
|
};
|
|
446
441
|
professional?: {
|
|
@@ -456,139 +451,6 @@ export interface CustomTweetLegacyObject {
|
|
|
456
451
|
};
|
|
457
452
|
};
|
|
458
453
|
};
|
|
459
|
-
card?: {
|
|
460
|
-
rest_id: string;
|
|
461
|
-
legacy: {
|
|
462
|
-
binding_values: {
|
|
463
|
-
key: string;
|
|
464
|
-
value: {
|
|
465
|
-
image_value?: {
|
|
466
|
-
height: number;
|
|
467
|
-
width: number;
|
|
468
|
-
url: string;
|
|
469
|
-
alt?: string;
|
|
470
|
-
};
|
|
471
|
-
type: string;
|
|
472
|
-
string_value?: string;
|
|
473
|
-
scribe_key?: string;
|
|
474
|
-
user_value?: {
|
|
475
|
-
id_str: string;
|
|
476
|
-
path: unknown[];
|
|
477
|
-
};
|
|
478
|
-
image_color_value?: {
|
|
479
|
-
palette: {
|
|
480
|
-
rgb: {
|
|
481
|
-
blue: number;
|
|
482
|
-
green: number;
|
|
483
|
-
red: number;
|
|
484
|
-
};
|
|
485
|
-
percentage: number;
|
|
486
|
-
}[];
|
|
487
|
-
};
|
|
488
|
-
boolean_value?: boolean;
|
|
489
|
-
};
|
|
490
|
-
}[];
|
|
491
|
-
card_platform: {
|
|
492
|
-
platform: {
|
|
493
|
-
audience: {
|
|
494
|
-
name: string;
|
|
495
|
-
};
|
|
496
|
-
device: {
|
|
497
|
-
name: string;
|
|
498
|
-
version: string;
|
|
499
|
-
};
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
name: string;
|
|
503
|
-
url: string;
|
|
504
|
-
user_refs_results: {
|
|
505
|
-
result: {
|
|
506
|
-
__typename: string;
|
|
507
|
-
id: string;
|
|
508
|
-
rest_id: string;
|
|
509
|
-
affiliates_highlighted_label: {
|
|
510
|
-
label?: {
|
|
511
|
-
url: {
|
|
512
|
-
url: string;
|
|
513
|
-
urlType: string;
|
|
514
|
-
};
|
|
515
|
-
badge: {
|
|
516
|
-
url: string;
|
|
517
|
-
};
|
|
518
|
-
description: string;
|
|
519
|
-
userLabelType: string;
|
|
520
|
-
userLabelDisplayType: string;
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
has_graduated_access: boolean;
|
|
524
|
-
is_blue_verified: boolean;
|
|
525
|
-
profile_image_shape: string;
|
|
526
|
-
legacy: {
|
|
527
|
-
can_dm: boolean;
|
|
528
|
-
can_media_tag: boolean;
|
|
529
|
-
created_at: string;
|
|
530
|
-
default_profile: boolean;
|
|
531
|
-
default_profile_image: boolean;
|
|
532
|
-
description: string;
|
|
533
|
-
entities: {
|
|
534
|
-
description: {
|
|
535
|
-
urls: {
|
|
536
|
-
display_url: string;
|
|
537
|
-
expanded_url: string;
|
|
538
|
-
url: string;
|
|
539
|
-
indices: number[];
|
|
540
|
-
}[];
|
|
541
|
-
};
|
|
542
|
-
url?: {
|
|
543
|
-
urls: {
|
|
544
|
-
display_url: string;
|
|
545
|
-
expanded_url: string;
|
|
546
|
-
url: string;
|
|
547
|
-
indices: number[];
|
|
548
|
-
}[];
|
|
549
|
-
};
|
|
550
|
-
};
|
|
551
|
-
fast_followers_count: number;
|
|
552
|
-
favourites_count: number;
|
|
553
|
-
followers_count: number;
|
|
554
|
-
friends_count: number;
|
|
555
|
-
has_custom_timelines: boolean;
|
|
556
|
-
is_translator: boolean;
|
|
557
|
-
listed_count: number;
|
|
558
|
-
location: string;
|
|
559
|
-
media_count: number;
|
|
560
|
-
name: string;
|
|
561
|
-
normal_followers_count: number;
|
|
562
|
-
pinned_tweet_ids_str: string[];
|
|
563
|
-
possibly_sensitive: boolean;
|
|
564
|
-
profile_banner_url: string;
|
|
565
|
-
profile_image_url_https: string;
|
|
566
|
-
profile_interstitial_type: string;
|
|
567
|
-
screen_name: string;
|
|
568
|
-
statuses_count: number;
|
|
569
|
-
translator_type: string;
|
|
570
|
-
url?: string;
|
|
571
|
-
verified: boolean;
|
|
572
|
-
want_retweets: boolean;
|
|
573
|
-
withheld_in_countries: unknown[];
|
|
574
|
-
verified_type?: string;
|
|
575
|
-
};
|
|
576
|
-
professional?: {
|
|
577
|
-
rest_id: string;
|
|
578
|
-
professional_type: string;
|
|
579
|
-
category: {
|
|
580
|
-
id: number;
|
|
581
|
-
name: string;
|
|
582
|
-
icon_name: string;
|
|
583
|
-
}[];
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
}[];
|
|
587
|
-
};
|
|
588
|
-
};
|
|
589
|
-
unified_card?: {
|
|
590
|
-
card_fetch_state: string;
|
|
591
|
-
};
|
|
592
454
|
edit_control?: {
|
|
593
455
|
edit_tweet_ids?: string[];
|
|
594
456
|
editable_until_msecs?: string;
|
|
@@ -619,23 +481,6 @@ export interface CustomTweetLegacyObject {
|
|
|
619
481
|
conversation_id_str: string;
|
|
620
482
|
display_text_range: number[];
|
|
621
483
|
entities: {
|
|
622
|
-
user_mentions: {
|
|
623
|
-
id_str: string;
|
|
624
|
-
name: string;
|
|
625
|
-
screen_name: string;
|
|
626
|
-
indices: number[];
|
|
627
|
-
}[];
|
|
628
|
-
urls: {
|
|
629
|
-
display_url: string;
|
|
630
|
-
expanded_url: string;
|
|
631
|
-
url: string;
|
|
632
|
-
indices: number[];
|
|
633
|
-
}[];
|
|
634
|
-
hashtags: {
|
|
635
|
-
indices: number[];
|
|
636
|
-
text: string;
|
|
637
|
-
}[];
|
|
638
|
-
symbols: unknown[];
|
|
639
484
|
media?: {
|
|
640
485
|
display_url: string;
|
|
641
486
|
expanded_url: string;
|
|
@@ -718,23 +563,25 @@ export interface CustomTweetLegacyObject {
|
|
|
718
563
|
h: number;
|
|
719
564
|
}[];
|
|
720
565
|
};
|
|
721
|
-
source_status_id_str?: string;
|
|
722
|
-
source_user_id_str?: string;
|
|
723
566
|
}[];
|
|
567
|
+
user_mentions: {
|
|
568
|
+
id_str: string;
|
|
569
|
+
name: string;
|
|
570
|
+
screen_name: string;
|
|
571
|
+
indices: number[];
|
|
572
|
+
}[];
|
|
573
|
+
urls: {
|
|
574
|
+
display_url: string;
|
|
575
|
+
expanded_url: string;
|
|
576
|
+
url: string;
|
|
577
|
+
indices: number[];
|
|
578
|
+
}[];
|
|
579
|
+
hashtags: {
|
|
580
|
+
indices: number[];
|
|
581
|
+
text: string;
|
|
582
|
+
}[];
|
|
583
|
+
symbols: unknown[];
|
|
724
584
|
};
|
|
725
|
-
favorite_count: number;
|
|
726
|
-
favorited: boolean;
|
|
727
|
-
full_text: string;
|
|
728
|
-
is_quote_status: boolean;
|
|
729
|
-
lang: string;
|
|
730
|
-
possibly_sensitive?: boolean;
|
|
731
|
-
possibly_sensitive_editable?: boolean;
|
|
732
|
-
quote_count: number;
|
|
733
|
-
reply_count: number;
|
|
734
|
-
retweet_count: number;
|
|
735
|
-
retweeted: boolean;
|
|
736
|
-
user_id_str: string;
|
|
737
|
-
id_str: string;
|
|
738
585
|
extended_entities?: {
|
|
739
586
|
media: {
|
|
740
587
|
display_url: string;
|
|
@@ -822,113 +669,49 @@ export interface CustomTweetLegacyObject {
|
|
|
822
669
|
h: number;
|
|
823
670
|
}[];
|
|
824
671
|
};
|
|
672
|
+
ext_alt_text?: string;
|
|
825
673
|
additional_media_info?: {
|
|
826
674
|
monetizable: boolean;
|
|
827
675
|
title?: string;
|
|
828
676
|
description?: string;
|
|
829
677
|
embeddable?: boolean;
|
|
830
|
-
source_user?: {
|
|
831
|
-
user_results: {
|
|
832
|
-
result: {
|
|
833
|
-
__typename: string;
|
|
834
|
-
id: string;
|
|
835
|
-
rest_id: string;
|
|
836
|
-
affiliates_highlighted_label: {};
|
|
837
|
-
has_graduated_access: boolean;
|
|
838
|
-
is_blue_verified: boolean;
|
|
839
|
-
profile_image_shape: string;
|
|
840
|
-
legacy: {
|
|
841
|
-
can_dm: boolean;
|
|
842
|
-
can_media_tag: boolean;
|
|
843
|
-
created_at: string;
|
|
844
|
-
default_profile: boolean;
|
|
845
|
-
default_profile_image: boolean;
|
|
846
|
-
description: string;
|
|
847
|
-
entities: {
|
|
848
|
-
description: {
|
|
849
|
-
urls: unknown[];
|
|
850
|
-
};
|
|
851
|
-
};
|
|
852
|
-
fast_followers_count: number;
|
|
853
|
-
favourites_count: number;
|
|
854
|
-
followers_count: number;
|
|
855
|
-
friends_count: number;
|
|
856
|
-
has_custom_timelines: boolean;
|
|
857
|
-
is_translator: boolean;
|
|
858
|
-
listed_count: number;
|
|
859
|
-
location: string;
|
|
860
|
-
media_count: number;
|
|
861
|
-
name: string;
|
|
862
|
-
normal_followers_count: number;
|
|
863
|
-
pinned_tweet_ids_str: string[];
|
|
864
|
-
possibly_sensitive: boolean;
|
|
865
|
-
profile_banner_url: string;
|
|
866
|
-
profile_image_url_https: string;
|
|
867
|
-
profile_interstitial_type: string;
|
|
868
|
-
screen_name: string;
|
|
869
|
-
statuses_count: number;
|
|
870
|
-
translator_type: string;
|
|
871
|
-
verified: boolean;
|
|
872
|
-
want_retweets: boolean;
|
|
873
|
-
withheld_in_countries: unknown[];
|
|
874
|
-
};
|
|
875
|
-
professional: {
|
|
876
|
-
rest_id: string;
|
|
877
|
-
professional_type: string;
|
|
878
|
-
category: {
|
|
879
|
-
id: number;
|
|
880
|
-
name: string;
|
|
881
|
-
icon_name: string;
|
|
882
|
-
}[];
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
678
|
};
|
|
888
679
|
mediaStats?: {
|
|
889
680
|
viewCount: number;
|
|
890
681
|
};
|
|
891
682
|
video_info?: {
|
|
892
683
|
aspect_ratio: number[];
|
|
893
|
-
duration_millis
|
|
684
|
+
duration_millis: number;
|
|
894
685
|
variants: {
|
|
895
|
-
bitrate?: number;
|
|
896
686
|
content_type: string;
|
|
897
687
|
url: string;
|
|
688
|
+
bitrate?: number;
|
|
898
689
|
}[];
|
|
899
690
|
};
|
|
900
|
-
source_status_id_str?: string;
|
|
901
|
-
source_user_id_str?: string;
|
|
902
|
-
ext_alt_text?: string;
|
|
903
691
|
}[];
|
|
904
692
|
};
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
693
|
+
favorite_count: number;
|
|
694
|
+
favorited: boolean;
|
|
695
|
+
full_text: string;
|
|
696
|
+
is_quote_status: boolean;
|
|
697
|
+
lang: string;
|
|
698
|
+
possibly_sensitive?: boolean;
|
|
699
|
+
possibly_sensitive_editable?: boolean;
|
|
700
|
+
quote_count: number;
|
|
701
|
+
reply_count: number;
|
|
702
|
+
retweet_count: number;
|
|
703
|
+
retweeted: boolean;
|
|
704
|
+
user_id_str: string;
|
|
705
|
+
id_str: string;
|
|
908
706
|
quoted_status_id_str?: string;
|
|
909
707
|
quoted_status_permalink?: {
|
|
910
708
|
url: string;
|
|
911
709
|
expanded: string;
|
|
912
710
|
display: string;
|
|
913
711
|
};
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
place?: {
|
|
918
|
-
attributes: {};
|
|
919
|
-
bounding_box: {
|
|
920
|
-
coordinates: number[][][];
|
|
921
|
-
type: string;
|
|
922
|
-
};
|
|
923
|
-
contained_within: unknown[];
|
|
924
|
-
country: string;
|
|
925
|
-
country_code: string;
|
|
926
|
-
full_name: string;
|
|
927
|
-
name: string;
|
|
928
|
-
id: string;
|
|
929
|
-
place_type: string;
|
|
930
|
-
url: string;
|
|
931
|
-
};
|
|
712
|
+
in_reply_to_screen_name?: string;
|
|
713
|
+
in_reply_to_status_id_str?: string;
|
|
714
|
+
in_reply_to_user_id_str?: string;
|
|
932
715
|
};
|
|
933
716
|
quoted_status_result?: {
|
|
934
717
|
result: {
|
|
@@ -1001,10 +784,10 @@ export interface CustomTweetLegacyObject {
|
|
|
1001
784
|
screen_name: string;
|
|
1002
785
|
statuses_count: number;
|
|
1003
786
|
translator_type: string;
|
|
787
|
+
url?: string;
|
|
1004
788
|
verified: boolean;
|
|
1005
789
|
want_retweets: boolean;
|
|
1006
790
|
withheld_in_countries: unknown[];
|
|
1007
|
-
url?: string;
|
|
1008
791
|
verified_type?: string;
|
|
1009
792
|
};
|
|
1010
793
|
professional?: {
|
|
@@ -1020,26 +803,152 @@ export interface CustomTweetLegacyObject {
|
|
|
1020
803
|
};
|
|
1021
804
|
};
|
|
1022
805
|
};
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
806
|
+
card?: {
|
|
807
|
+
rest_id: string;
|
|
808
|
+
legacy: {
|
|
809
|
+
binding_values: {
|
|
810
|
+
key: string;
|
|
811
|
+
value: {
|
|
812
|
+
image_value?: {
|
|
813
|
+
alt?: string;
|
|
814
|
+
height: number;
|
|
815
|
+
width: number;
|
|
816
|
+
url: string;
|
|
817
|
+
};
|
|
818
|
+
type: string;
|
|
819
|
+
string_value?: string;
|
|
820
|
+
scribe_key?: string;
|
|
821
|
+
image_color_value?: {
|
|
822
|
+
palette: {
|
|
823
|
+
rgb: {
|
|
824
|
+
blue: number;
|
|
825
|
+
green: number;
|
|
826
|
+
red: number;
|
|
827
|
+
};
|
|
828
|
+
percentage: number;
|
|
829
|
+
}[];
|
|
830
|
+
};
|
|
831
|
+
user_value?: {
|
|
832
|
+
id_str: string;
|
|
833
|
+
path: unknown[];
|
|
834
|
+
};
|
|
835
|
+
boolean_value?: boolean;
|
|
836
|
+
};
|
|
837
|
+
}[];
|
|
838
|
+
card_platform: {
|
|
839
|
+
platform: {
|
|
840
|
+
audience: {
|
|
841
|
+
name: string;
|
|
842
|
+
};
|
|
843
|
+
device: {
|
|
844
|
+
name: string;
|
|
845
|
+
version: string;
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
name: string;
|
|
850
|
+
url: string;
|
|
851
|
+
user_refs_results: {
|
|
852
|
+
result: {
|
|
853
|
+
__typename: string;
|
|
854
|
+
id: string;
|
|
855
|
+
rest_id: string;
|
|
856
|
+
affiliates_highlighted_label: {
|
|
857
|
+
label: {
|
|
858
|
+
url: {
|
|
859
|
+
url: string;
|
|
860
|
+
urlType: string;
|
|
861
|
+
};
|
|
862
|
+
badge: {
|
|
863
|
+
url: string;
|
|
864
|
+
};
|
|
865
|
+
description: string;
|
|
866
|
+
userLabelType: string;
|
|
867
|
+
userLabelDisplayType: string;
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
has_graduated_access: boolean;
|
|
871
|
+
is_blue_verified: boolean;
|
|
872
|
+
profile_image_shape: string;
|
|
873
|
+
legacy: {
|
|
874
|
+
can_dm: boolean;
|
|
875
|
+
can_media_tag: boolean;
|
|
876
|
+
created_at: string;
|
|
877
|
+
default_profile: boolean;
|
|
878
|
+
default_profile_image: boolean;
|
|
879
|
+
description: string;
|
|
880
|
+
entities: {
|
|
881
|
+
description: {
|
|
882
|
+
urls: unknown[];
|
|
883
|
+
};
|
|
884
|
+
url: {
|
|
885
|
+
urls: {
|
|
886
|
+
display_url: string;
|
|
887
|
+
expanded_url: string;
|
|
888
|
+
url: string;
|
|
889
|
+
indices: number[];
|
|
890
|
+
}[];
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
fast_followers_count: number;
|
|
894
|
+
favourites_count: number;
|
|
895
|
+
followers_count: number;
|
|
896
|
+
friends_count: number;
|
|
897
|
+
has_custom_timelines: boolean;
|
|
898
|
+
is_translator: boolean;
|
|
899
|
+
listed_count: number;
|
|
900
|
+
location: string;
|
|
901
|
+
media_count: number;
|
|
902
|
+
name: string;
|
|
903
|
+
normal_followers_count: number;
|
|
904
|
+
pinned_tweet_ids_str: unknown[];
|
|
905
|
+
possibly_sensitive: boolean;
|
|
906
|
+
profile_banner_url: string;
|
|
907
|
+
profile_image_url_https: string;
|
|
908
|
+
profile_interstitial_type: string;
|
|
909
|
+
screen_name: string;
|
|
910
|
+
statuses_count: number;
|
|
911
|
+
translator_type: string;
|
|
912
|
+
url: string;
|
|
913
|
+
verified: boolean;
|
|
914
|
+
verified_type: string;
|
|
915
|
+
want_retweets: boolean;
|
|
916
|
+
withheld_in_countries: unknown[];
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
}[];
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
unified_card?: {
|
|
923
|
+
card_fetch_state: string;
|
|
924
|
+
};
|
|
925
|
+
edit_control?: {
|
|
926
|
+
initial_tweet_id?: string;
|
|
927
|
+
edit_control_initial?: {
|
|
928
|
+
edit_tweet_ids: string[];
|
|
929
|
+
editable_until_msecs: string;
|
|
930
|
+
is_edit_eligible: boolean;
|
|
931
|
+
edits_remaining: string;
|
|
932
|
+
};
|
|
933
|
+
edit_tweet_ids?: string[];
|
|
934
|
+
editable_until_msecs?: string;
|
|
935
|
+
is_edit_eligible?: boolean;
|
|
936
|
+
edits_remaining?: string;
|
|
937
|
+
};
|
|
938
|
+
edit_perspective?: {
|
|
939
|
+
favorited: boolean;
|
|
940
|
+
retweeted: boolean;
|
|
941
|
+
};
|
|
942
|
+
previous_counts?: {
|
|
943
|
+
bookmark_count: number;
|
|
944
|
+
favorite_count: number;
|
|
945
|
+
quote_count: number;
|
|
946
|
+
reply_count: number;
|
|
947
|
+
retweet_count: number;
|
|
948
|
+
};
|
|
949
|
+
is_translatable?: boolean;
|
|
1041
950
|
views?: {
|
|
1042
|
-
count
|
|
951
|
+
count: string;
|
|
1043
952
|
state: string;
|
|
1044
953
|
};
|
|
1045
954
|
source?: string;
|
|
@@ -1050,6 +959,23 @@ export interface CustomTweetLegacyObject {
|
|
|
1050
959
|
conversation_id_str: string;
|
|
1051
960
|
display_text_range: number[];
|
|
1052
961
|
entities: {
|
|
962
|
+
user_mentions: {
|
|
963
|
+
id_str: string;
|
|
964
|
+
name: string;
|
|
965
|
+
screen_name: string;
|
|
966
|
+
indices: number[];
|
|
967
|
+
}[];
|
|
968
|
+
urls: {
|
|
969
|
+
display_url: string;
|
|
970
|
+
expanded_url: string;
|
|
971
|
+
url: string;
|
|
972
|
+
indices: number[];
|
|
973
|
+
}[];
|
|
974
|
+
hashtags: {
|
|
975
|
+
indices: number[];
|
|
976
|
+
text: string;
|
|
977
|
+
}[];
|
|
978
|
+
symbols: unknown[];
|
|
1053
979
|
media?: {
|
|
1054
980
|
display_url: string;
|
|
1055
981
|
expanded_url: string;
|
|
@@ -1133,24 +1059,20 @@ export interface CustomTweetLegacyObject {
|
|
|
1133
1059
|
}[];
|
|
1134
1060
|
};
|
|
1135
1061
|
}[];
|
|
1136
|
-
user_mentions: {
|
|
1137
|
-
id_str: string;
|
|
1138
|
-
name: string;
|
|
1139
|
-
screen_name: string;
|
|
1140
|
-
indices: number[];
|
|
1141
|
-
}[];
|
|
1142
|
-
urls: {
|
|
1143
|
-
display_url: string;
|
|
1144
|
-
expanded_url: string;
|
|
1145
|
-
url: string;
|
|
1146
|
-
indices: number[];
|
|
1147
|
-
}[];
|
|
1148
|
-
hashtags: {
|
|
1149
|
-
indices: number[];
|
|
1150
|
-
text: string;
|
|
1151
|
-
}[];
|
|
1152
|
-
symbols: unknown[];
|
|
1153
1062
|
};
|
|
1063
|
+
favorite_count: number;
|
|
1064
|
+
favorited: boolean;
|
|
1065
|
+
full_text: string;
|
|
1066
|
+
is_quote_status: boolean;
|
|
1067
|
+
lang: string;
|
|
1068
|
+
possibly_sensitive?: boolean;
|
|
1069
|
+
possibly_sensitive_editable?: boolean;
|
|
1070
|
+
quote_count: number;
|
|
1071
|
+
reply_count: number;
|
|
1072
|
+
retweet_count: number;
|
|
1073
|
+
retweeted: boolean;
|
|
1074
|
+
user_id_str: string;
|
|
1075
|
+
id_str: string;
|
|
1154
1076
|
extended_entities?: {
|
|
1155
1077
|
media: {
|
|
1156
1078
|
display_url: string;
|
|
@@ -1161,12 +1083,6 @@ export interface CustomTweetLegacyObject {
|
|
|
1161
1083
|
media_url_https: string;
|
|
1162
1084
|
type: string;
|
|
1163
1085
|
url: string;
|
|
1164
|
-
additional_media_info?: {
|
|
1165
|
-
monetizable: boolean;
|
|
1166
|
-
};
|
|
1167
|
-
mediaStats?: {
|
|
1168
|
-
viewCount: number;
|
|
1169
|
-
};
|
|
1170
1086
|
ext_media_availability: {
|
|
1171
1087
|
status: string;
|
|
1172
1088
|
};
|
|
@@ -1234,183 +1150,42 @@ export interface CustomTweetLegacyObject {
|
|
|
1234
1150
|
resize: string;
|
|
1235
1151
|
};
|
|
1236
1152
|
};
|
|
1237
|
-
original_info: {
|
|
1238
|
-
height: number;
|
|
1239
|
-
width: number;
|
|
1240
|
-
focus_rects?: {
|
|
1241
|
-
x: number;
|
|
1242
|
-
y: number;
|
|
1243
|
-
w: number;
|
|
1244
|
-
h: number;
|
|
1245
|
-
}[];
|
|
1246
|
-
};
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
favorited: boolean;
|
|
1260
|
-
full_text: string;
|
|
1261
|
-
is_quote_status: boolean;
|
|
1262
|
-
lang: string;
|
|
1263
|
-
possibly_sensitive?: boolean;
|
|
1264
|
-
possibly_sensitive_editable?: boolean;
|
|
1265
|
-
quote_count: number;
|
|
1266
|
-
reply_count: number;
|
|
1267
|
-
retweet_count: number;
|
|
1268
|
-
retweeted: boolean;
|
|
1269
|
-
user_id_str: string;
|
|
1270
|
-
id_str: string;
|
|
1271
|
-
quoted_status_id_str?: string;
|
|
1272
|
-
quoted_status_permalink?: {
|
|
1273
|
-
url: string;
|
|
1274
|
-
expanded: string;
|
|
1275
|
-
display: string;
|
|
1276
|
-
};
|
|
1277
|
-
place?: {
|
|
1278
|
-
attributes: {};
|
|
1279
|
-
bounding_box: {
|
|
1280
|
-
coordinates: number[][][];
|
|
1281
|
-
type: string;
|
|
1282
|
-
};
|
|
1283
|
-
contained_within: unknown[];
|
|
1284
|
-
country: string;
|
|
1285
|
-
country_code: string;
|
|
1286
|
-
full_name: string;
|
|
1287
|
-
name: string;
|
|
1288
|
-
id: string;
|
|
1289
|
-
place_type: string;
|
|
1290
|
-
url: string;
|
|
1291
|
-
};
|
|
1292
|
-
in_reply_to_screen_name?: string;
|
|
1293
|
-
in_reply_to_status_id_str?: string;
|
|
1294
|
-
in_reply_to_user_id_str?: string;
|
|
1295
|
-
};
|
|
1296
|
-
card?: {
|
|
1297
|
-
rest_id: string;
|
|
1298
|
-
legacy: {
|
|
1299
|
-
binding_values: {
|
|
1300
|
-
key: string;
|
|
1301
|
-
value: {
|
|
1302
|
-
image_value?: {
|
|
1303
|
-
height: number;
|
|
1304
|
-
width: number;
|
|
1305
|
-
url: string;
|
|
1306
|
-
alt?: string;
|
|
1307
|
-
};
|
|
1308
|
-
type: string;
|
|
1309
|
-
string_value?: string;
|
|
1310
|
-
scribe_key?: string;
|
|
1311
|
-
user_value?: {
|
|
1312
|
-
id_str: string;
|
|
1313
|
-
path: unknown[];
|
|
1314
|
-
};
|
|
1315
|
-
image_color_value?: {
|
|
1316
|
-
palette: {
|
|
1317
|
-
rgb: {
|
|
1318
|
-
blue: number;
|
|
1319
|
-
green: number;
|
|
1320
|
-
red: number;
|
|
1321
|
-
};
|
|
1322
|
-
percentage: number;
|
|
1323
|
-
}[];
|
|
1324
|
-
};
|
|
1325
|
-
boolean_value?: boolean;
|
|
1326
|
-
};
|
|
1327
|
-
}[];
|
|
1328
|
-
card_platform: {
|
|
1329
|
-
platform: {
|
|
1330
|
-
audience: {
|
|
1331
|
-
name: string;
|
|
1332
|
-
};
|
|
1333
|
-
device: {
|
|
1334
|
-
name: string;
|
|
1335
|
-
version: string;
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1338
|
-
};
|
|
1339
|
-
name: string;
|
|
1340
|
-
url: string;
|
|
1341
|
-
user_refs_results: {
|
|
1342
|
-
result: {
|
|
1343
|
-
__typename: string;
|
|
1344
|
-
id: string;
|
|
1345
|
-
rest_id: string;
|
|
1346
|
-
affiliates_highlighted_label: {
|
|
1347
|
-
label: {
|
|
1348
|
-
url: {
|
|
1349
|
-
url: string;
|
|
1350
|
-
urlType: string;
|
|
1351
|
-
};
|
|
1352
|
-
badge: {
|
|
1353
|
-
url: string;
|
|
1354
|
-
};
|
|
1355
|
-
description: string;
|
|
1356
|
-
userLabelType: string;
|
|
1357
|
-
userLabelDisplayType: string;
|
|
1358
|
-
};
|
|
1359
|
-
};
|
|
1360
|
-
has_graduated_access: boolean;
|
|
1361
|
-
is_blue_verified: boolean;
|
|
1362
|
-
profile_image_shape: string;
|
|
1363
|
-
legacy: {
|
|
1364
|
-
can_dm: boolean;
|
|
1365
|
-
can_media_tag: boolean;
|
|
1366
|
-
created_at: string;
|
|
1367
|
-
default_profile: boolean;
|
|
1368
|
-
default_profile_image: boolean;
|
|
1369
|
-
description: string;
|
|
1370
|
-
entities: {
|
|
1371
|
-
description: {
|
|
1372
|
-
urls: unknown[];
|
|
1373
|
-
};
|
|
1374
|
-
url: {
|
|
1375
|
-
urls: {
|
|
1376
|
-
display_url: string;
|
|
1377
|
-
expanded_url: string;
|
|
1378
|
-
url: string;
|
|
1379
|
-
indices: number[];
|
|
1380
|
-
}[];
|
|
1381
|
-
};
|
|
1382
|
-
};
|
|
1383
|
-
fast_followers_count: number;
|
|
1384
|
-
favourites_count: number;
|
|
1385
|
-
followers_count: number;
|
|
1386
|
-
friends_count: number;
|
|
1387
|
-
has_custom_timelines: boolean;
|
|
1388
|
-
is_translator: boolean;
|
|
1389
|
-
listed_count: number;
|
|
1390
|
-
location: string;
|
|
1391
|
-
media_count: number;
|
|
1392
|
-
name: string;
|
|
1393
|
-
normal_followers_count: number;
|
|
1394
|
-
pinned_tweet_ids_str: unknown[];
|
|
1395
|
-
possibly_sensitive: boolean;
|
|
1396
|
-
profile_banner_url: string;
|
|
1397
|
-
profile_image_url_https: string;
|
|
1398
|
-
profile_interstitial_type: string;
|
|
1399
|
-
screen_name: string;
|
|
1400
|
-
statuses_count: number;
|
|
1401
|
-
translator_type: string;
|
|
1153
|
+
original_info: {
|
|
1154
|
+
height: number;
|
|
1155
|
+
width: number;
|
|
1156
|
+
focus_rects?: {
|
|
1157
|
+
x: number;
|
|
1158
|
+
y: number;
|
|
1159
|
+
w: number;
|
|
1160
|
+
h: number;
|
|
1161
|
+
}[];
|
|
1162
|
+
};
|
|
1163
|
+
additional_media_info?: {
|
|
1164
|
+
monetizable: boolean;
|
|
1165
|
+
};
|
|
1166
|
+
mediaStats?: {
|
|
1167
|
+
viewCount: number;
|
|
1168
|
+
};
|
|
1169
|
+
video_info?: {
|
|
1170
|
+
aspect_ratio: number[];
|
|
1171
|
+
duration_millis: number;
|
|
1172
|
+
variants: {
|
|
1173
|
+
bitrate?: number;
|
|
1174
|
+
content_type: string;
|
|
1402
1175
|
url: string;
|
|
1403
|
-
|
|
1404
|
-
verified_type: string;
|
|
1405
|
-
want_retweets: boolean;
|
|
1406
|
-
withheld_in_countries: unknown[];
|
|
1407
|
-
};
|
|
1176
|
+
}[];
|
|
1408
1177
|
};
|
|
1409
1178
|
}[];
|
|
1410
1179
|
};
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1180
|
+
quoted_status_id_str?: string;
|
|
1181
|
+
quoted_status_permalink?: {
|
|
1182
|
+
url: string;
|
|
1183
|
+
expanded: string;
|
|
1184
|
+
display: string;
|
|
1185
|
+
};
|
|
1186
|
+
in_reply_to_screen_name?: string;
|
|
1187
|
+
in_reply_to_status_id_str?: string;
|
|
1188
|
+
in_reply_to_user_id_str?: string;
|
|
1414
1189
|
};
|
|
1415
1190
|
quotedRefResult?: {
|
|
1416
1191
|
result: {
|
|
@@ -1434,37 +1209,6 @@ export interface CustomTweetLegacyObject {
|
|
|
1434
1209
|
}[];
|
|
1435
1210
|
};
|
|
1436
1211
|
};
|
|
1437
|
-
note_tweet?: {
|
|
1438
|
-
is_expandable: boolean;
|
|
1439
|
-
note_tweet_results: {
|
|
1440
|
-
result: {
|
|
1441
|
-
id: string;
|
|
1442
|
-
text: string;
|
|
1443
|
-
entity_set: {
|
|
1444
|
-
user_mentions: unknown[];
|
|
1445
|
-
urls: unknown[];
|
|
1446
|
-
hashtags: {
|
|
1447
|
-
indices: number[];
|
|
1448
|
-
text: string;
|
|
1449
|
-
}[];
|
|
1450
|
-
symbols: unknown[];
|
|
1451
|
-
};
|
|
1452
|
-
richtext: {
|
|
1453
|
-
richtext_tags: unknown[];
|
|
1454
|
-
};
|
|
1455
|
-
media: {
|
|
1456
|
-
inline_media: unknown[];
|
|
1457
|
-
};
|
|
1458
|
-
};
|
|
1459
|
-
};
|
|
1460
|
-
};
|
|
1461
|
-
previous_counts?: {
|
|
1462
|
-
bookmark_count: number;
|
|
1463
|
-
favorite_count: number;
|
|
1464
|
-
quote_count: number;
|
|
1465
|
-
reply_count: number;
|
|
1466
|
-
retweet_count: number;
|
|
1467
|
-
};
|
|
1468
1212
|
tweet?: {
|
|
1469
1213
|
rest_id: string;
|
|
1470
1214
|
core: {
|
|
@@ -1711,6 +1455,139 @@ export interface CustomTweetLegacyObject {
|
|
|
1711
1455
|
};
|
|
1712
1456
|
};
|
|
1713
1457
|
};
|
|
1458
|
+
card?: {
|
|
1459
|
+
rest_id: string;
|
|
1460
|
+
legacy: {
|
|
1461
|
+
binding_values: {
|
|
1462
|
+
key: string;
|
|
1463
|
+
value: {
|
|
1464
|
+
string_value?: string;
|
|
1465
|
+
type: string;
|
|
1466
|
+
scribe_key?: string;
|
|
1467
|
+
image_value?: {
|
|
1468
|
+
height: number;
|
|
1469
|
+
width: number;
|
|
1470
|
+
url: string;
|
|
1471
|
+
alt?: string;
|
|
1472
|
+
};
|
|
1473
|
+
user_value?: {
|
|
1474
|
+
id_str: string;
|
|
1475
|
+
path: unknown[];
|
|
1476
|
+
};
|
|
1477
|
+
image_color_value?: {
|
|
1478
|
+
palette: {
|
|
1479
|
+
rgb: {
|
|
1480
|
+
blue: number;
|
|
1481
|
+
green: number;
|
|
1482
|
+
red: number;
|
|
1483
|
+
};
|
|
1484
|
+
percentage: number;
|
|
1485
|
+
}[];
|
|
1486
|
+
};
|
|
1487
|
+
boolean_value?: boolean;
|
|
1488
|
+
};
|
|
1489
|
+
}[];
|
|
1490
|
+
card_platform: {
|
|
1491
|
+
platform: {
|
|
1492
|
+
audience: {
|
|
1493
|
+
name: string;
|
|
1494
|
+
};
|
|
1495
|
+
device: {
|
|
1496
|
+
name: string;
|
|
1497
|
+
version: string;
|
|
1498
|
+
};
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
name: string;
|
|
1502
|
+
url: string;
|
|
1503
|
+
user_refs_results: {
|
|
1504
|
+
result: {
|
|
1505
|
+
__typename: string;
|
|
1506
|
+
id: string;
|
|
1507
|
+
rest_id: string;
|
|
1508
|
+
affiliates_highlighted_label: {
|
|
1509
|
+
label?: {
|
|
1510
|
+
url: {
|
|
1511
|
+
url: string;
|
|
1512
|
+
urlType: string;
|
|
1513
|
+
};
|
|
1514
|
+
badge: {
|
|
1515
|
+
url: string;
|
|
1516
|
+
};
|
|
1517
|
+
description: string;
|
|
1518
|
+
userLabelType: string;
|
|
1519
|
+
userLabelDisplayType: string;
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
has_graduated_access: boolean;
|
|
1523
|
+
is_blue_verified: boolean;
|
|
1524
|
+
profile_image_shape: string;
|
|
1525
|
+
legacy: {
|
|
1526
|
+
can_dm: boolean;
|
|
1527
|
+
can_media_tag: boolean;
|
|
1528
|
+
created_at: string;
|
|
1529
|
+
default_profile: boolean;
|
|
1530
|
+
default_profile_image: boolean;
|
|
1531
|
+
description: string;
|
|
1532
|
+
entities: {
|
|
1533
|
+
description: {
|
|
1534
|
+
urls: {
|
|
1535
|
+
display_url: string;
|
|
1536
|
+
expanded_url: string;
|
|
1537
|
+
url: string;
|
|
1538
|
+
indices: number[];
|
|
1539
|
+
}[];
|
|
1540
|
+
};
|
|
1541
|
+
url?: {
|
|
1542
|
+
urls: {
|
|
1543
|
+
display_url: string;
|
|
1544
|
+
expanded_url: string;
|
|
1545
|
+
url: string;
|
|
1546
|
+
indices: number[];
|
|
1547
|
+
}[];
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
fast_followers_count: number;
|
|
1551
|
+
favourites_count: number;
|
|
1552
|
+
followers_count: number;
|
|
1553
|
+
friends_count: number;
|
|
1554
|
+
has_custom_timelines: boolean;
|
|
1555
|
+
is_translator: boolean;
|
|
1556
|
+
listed_count: number;
|
|
1557
|
+
location: string;
|
|
1558
|
+
media_count: number;
|
|
1559
|
+
name: string;
|
|
1560
|
+
normal_followers_count: number;
|
|
1561
|
+
pinned_tweet_ids_str: string[];
|
|
1562
|
+
possibly_sensitive: boolean;
|
|
1563
|
+
profile_banner_url: string;
|
|
1564
|
+
profile_image_url_https: string;
|
|
1565
|
+
profile_interstitial_type: string;
|
|
1566
|
+
screen_name: string;
|
|
1567
|
+
statuses_count: number;
|
|
1568
|
+
translator_type: string;
|
|
1569
|
+
url?: string;
|
|
1570
|
+
verified: boolean;
|
|
1571
|
+
want_retweets: boolean;
|
|
1572
|
+
withheld_in_countries: unknown[];
|
|
1573
|
+
verified_type?: string;
|
|
1574
|
+
};
|
|
1575
|
+
professional?: {
|
|
1576
|
+
rest_id: string;
|
|
1577
|
+
professional_type: string;
|
|
1578
|
+
category: {
|
|
1579
|
+
id: number;
|
|
1580
|
+
name: string;
|
|
1581
|
+
icon_name: string;
|
|
1582
|
+
}[];
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
}[];
|
|
1586
|
+
};
|
|
1587
|
+
};
|
|
1588
|
+
unified_card?: {
|
|
1589
|
+
card_fetch_state: string;
|
|
1590
|
+
};
|
|
1714
1591
|
note_tweet?: {
|
|
1715
1592
|
is_expandable: boolean;
|
|
1716
1593
|
note_tweet_results: {
|