@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.
Files changed (85) hide show
  1. package/dist/converter.d.ts +17 -1
  2. package/dist/converter.d.ts.map +1 -1
  3. package/dist/converter.js +71 -0
  4. package/dist/converter.js.map +1 -1
  5. package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
  6. package/dist/generate-types/custom-types-generator.js +26 -26
  7. package/dist/generate-types/custom-types-generator.js.map +1 -1
  8. package/dist/generate-types/endpoint-type-generator.d.ts +1 -1
  9. package/dist/generate-types/endpoint-type-generator.d.ts.map +1 -1
  10. package/dist/generate-types/endpoint-type-generator.js +4 -3
  11. package/dist/generate-types/endpoint-type-generator.js.map +1 -1
  12. package/dist/generate-types/types-generator.d.ts.map +1 -1
  13. package/dist/generate-types/types-generator.js +9 -13
  14. package/dist/generate-types/types-generator.js.map +1 -1
  15. package/dist/generate-types/utils.d.ts +7 -0
  16. package/dist/generate-types/utils.d.ts.map +1 -1
  17. package/dist/generate-types/utils.js +34 -6
  18. package/dist/generate-types/utils.js.map +1 -1
  19. package/dist/generate-types.js +13 -3
  20. package/dist/generate-types.js.map +1 -1
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +1 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/models/exceptions.d.ts +12 -0
  26. package/dist/models/exceptions.d.ts.map +1 -1
  27. package/dist/models/exceptions.js +19 -1
  28. package/dist/models/exceptions.js.map +1 -1
  29. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +181 -646
  30. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  31. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +1156 -936
  32. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  33. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +511 -634
  34. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  35. package/dist/models/responses/custom/custom-tweet-object.d.ts +813 -1104
  36. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  37. package/dist/models/responses/custom/custom-user-legacy-object.d.ts +3 -0
  38. package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
  39. package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts +39 -10
  40. package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts.map +1 -1
  41. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +1318 -1400
  42. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  43. package/dist/models/responses/endpoints.d.ts +9 -29
  44. package/dist/models/responses/endpoints.d.ts.map +1 -1
  45. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +4 -0
  46. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
  47. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +1475 -1777
  48. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  49. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +1147 -1433
  50. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  51. package/dist/models/responses/graphql/get/likes-success.d.ts +39 -10
  52. package/dist/models/responses/graphql/get/likes-success.d.ts.map +1 -1
  53. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +230 -1080
  54. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  55. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +148 -207
  56. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
  57. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +7 -2
  58. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  59. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +2871 -2885
  60. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  61. package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts +17 -0
  62. package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts.map +1 -0
  63. package/dist/models/responses/graphql/get/users-verified-avatars-success.js +4 -0
  64. package/dist/models/responses/graphql/get/users-verified-avatars-success.js.map +1 -0
  65. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +1234 -1699
  66. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  67. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +468 -769
  68. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  69. package/dist/options.d.ts +18 -0
  70. package/dist/options.d.ts.map +1 -1
  71. package/dist/parser/parser.test.js +3 -2
  72. package/dist/parser/parser.test.js.map +1 -1
  73. package/dist/scraper.d.ts +3 -3
  74. package/dist/scraper.d.ts.map +1 -1
  75. package/dist/scraper.js +79 -33
  76. package/dist/scraper.js.map +1 -1
  77. package/dist/tsconfig.build.tsbuildinfo +1 -1
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/dist/twitter.d.ts +23 -3
  80. package/dist/twitter.d.ts.map +1 -1
  81. package/dist/twitter.js +126 -1
  82. package/dist/twitter.js.map +1 -1
  83. package/dist/twitter.test.js +18 -1
  84. package/dist/twitter.test.js.map +1 -1
  85. package/package.json +3 -2
@@ -10,7 +10,7 @@ export interface CustomTweetObject {
10
10
  rest_id: string;
11
11
  affiliates_highlighted_label: {
12
12
  label?: {
13
- url?: {
13
+ url: {
14
14
  url: string;
15
15
  urlType: string;
16
16
  };
@@ -19,35 +19,13 @@ export interface CustomTweetObject {
19
19
  };
20
20
  description: string;
21
21
  userLabelType: string;
22
- userLabelDisplayType?: string;
23
- longDescription?: {
24
- text: string;
25
- entities: {
26
- fromIndex: number;
27
- toIndex: number;
28
- ref: {
29
- type: string;
30
- screen_name: string;
31
- mention_results: {
32
- result: {
33
- __typename: string;
34
- legacy: {
35
- screen_name: string;
36
- };
37
- rest_id: string;
38
- };
39
- };
40
- };
41
- }[];
42
- };
22
+ userLabelDisplayType: string;
43
23
  };
44
24
  };
45
25
  has_graduated_access: boolean;
46
26
  is_blue_verified: boolean;
47
27
  profile_image_shape: string;
48
28
  legacy: {
49
- followed_by?: boolean;
50
- following?: boolean;
51
29
  can_dm: boolean;
52
30
  can_media_tag: boolean;
53
31
  created_at: string;
@@ -91,12 +69,15 @@ export interface CustomTweetObject {
91
69
  screen_name: string;
92
70
  statuses_count: number;
93
71
  translator_type: string;
72
+ url?: string;
94
73
  verified: boolean;
95
74
  want_retweets: boolean;
96
75
  withheld_in_countries: string[];
97
- url?: string;
76
+ following?: boolean;
77
+ followed_by?: boolean;
98
78
  verified_type?: string;
99
79
  needs_phone_verification?: boolean;
80
+ blocking?: boolean;
100
81
  };
101
82
  professional?: {
102
83
  rest_id: string;
@@ -124,14 +105,10 @@ export interface CustomTweetObject {
124
105
  edits_remaining: string;
125
106
  };
126
107
  };
127
- edit_perspective?: {
128
- favorited: boolean;
129
- retweeted: boolean;
130
- };
131
108
  is_translatable?: boolean;
132
109
  views?: {
133
- state: string;
134
110
  count?: string;
111
+ state: string;
135
112
  };
136
113
  source?: string;
137
114
  legacy?: {
@@ -141,6 +118,91 @@ export interface CustomTweetObject {
141
118
  conversation_id_str: string;
142
119
  display_text_range: number[];
143
120
  entities: {
121
+ media?: {
122
+ display_url: string;
123
+ expanded_url: string;
124
+ id_str: string;
125
+ indices: number[];
126
+ media_url_https: string;
127
+ source_status_id_str?: string;
128
+ source_user_id_str?: string;
129
+ type: string;
130
+ url: string;
131
+ features: {
132
+ large?: {
133
+ faces: {
134
+ x: number;
135
+ y: number;
136
+ h: number;
137
+ w: number;
138
+ }[];
139
+ };
140
+ medium?: {
141
+ faces: {
142
+ x: number;
143
+ y: number;
144
+ h: number;
145
+ w: number;
146
+ }[];
147
+ };
148
+ small?: {
149
+ faces: {
150
+ x: number;
151
+ y: number;
152
+ h: number;
153
+ w: number;
154
+ }[];
155
+ };
156
+ orig?: {
157
+ faces: {
158
+ x: number;
159
+ y: number;
160
+ h: number;
161
+ w: number;
162
+ }[];
163
+ };
164
+ all?: {
165
+ tags: {
166
+ user_id: string;
167
+ name: string;
168
+ screen_name: string;
169
+ type: string;
170
+ }[];
171
+ };
172
+ };
173
+ sizes: {
174
+ large: {
175
+ h: number;
176
+ w: number;
177
+ resize: string;
178
+ };
179
+ medium: {
180
+ h: number;
181
+ w: number;
182
+ resize: string;
183
+ };
184
+ small: {
185
+ h: number;
186
+ w: number;
187
+ resize: string;
188
+ };
189
+ thumb: {
190
+ h: number;
191
+ w: number;
192
+ resize: string;
193
+ };
194
+ };
195
+ original_info: {
196
+ height: number;
197
+ width: number;
198
+ focus_rects?: {
199
+ x: number;
200
+ y: number;
201
+ w: number;
202
+ h: number;
203
+ }[];
204
+ };
205
+ }[];
144
206
  user_mentions: {
145
207
  id_str: string;
146
208
  name: string;
@@ -161,14 +223,122 @@ export interface CustomTweetObject {
161
223
  indices: number[];
162
224
  text: string;
163
225
  }[];
164
- media?: {
226
+ };
227
+ extended_entities?: {
228
+ media: {
165
229
  display_url: string;
166
230
  expanded_url: string;
167
231
  id_str: string;
168
232
  indices: number[];
233
+ media_key: string;
169
234
  media_url_https: string;
235
+ source_status_id_str?: string;
236
+ source_user_id_str?: string;
170
237
  type: string;
171
238
  url: string;
239
+ additional_media_info?: {
240
+ monetizable: boolean;
241
+ source_user?: {
242
+ user_results: {
243
+ result: {
244
+ __typename: string;
245
+ id: string;
246
+ rest_id: string;
247
+ affiliates_highlighted_label: {
248
+ label?: {
249
+ url: {
250
+ url: string;
251
+ urlType: string;
252
+ };
253
+ badge: {
254
+ url: string;
255
+ };
256
+ description: string;
257
+ userLabelType: string;
258
+ userLabelDisplayType: string;
259
+ };
260
+ };
261
+ has_graduated_access: boolean;
262
+ is_blue_verified: boolean;
263
+ profile_image_shape: string;
264
+ legacy: {
265
+ can_dm: boolean;
266
+ can_media_tag: boolean;
267
+ created_at: string;
268
+ default_profile: boolean;
269
+ default_profile_image: boolean;
270
+ description: string;
271
+ entities: {
272
+ description: {
273
+ urls: {
274
+ display_url: string;
275
+ expanded_url: string;
276
+ url: string;
277
+ indices: number[];
278
+ }[];
279
+ };
280
+ url?: {
281
+ urls: {
282
+ display_url: string;
283
+ expanded_url: string;
284
+ url: string;
285
+ indices: number[];
286
+ }[];
287
+ };
288
+ };
289
+ fast_followers_count: number;
290
+ favourites_count: number;
291
+ followers_count: number;
292
+ friends_count: number;
293
+ has_custom_timelines: boolean;
294
+ is_translator: boolean;
295
+ listed_count: number;
296
+ location: string;
297
+ media_count: number;
298
+ name: string;
299
+ normal_followers_count: number;
300
+ pinned_tweet_ids_str: string[];
301
+ possibly_sensitive: boolean;
302
+ profile_banner_url?: string;
303
+ profile_image_url_https: string;
304
+ profile_interstitial_type: string;
305
+ screen_name: string;
306
+ statuses_count: number;
307
+ translator_type: string;
308
+ verified: boolean;
309
+ want_retweets: boolean;
310
+ withheld_in_countries: unknown[];
311
+ url?: string;
312
+ verified_type?: string;
313
+ };
314
+ professional?: {
315
+ rest_id: string;
316
+ professional_type: string;
317
+ category: {
318
+ id: number;
319
+ name: string;
320
+ icon_name: string;
321
+ }[];
322
+ };
323
+ super_follow_eligible?: boolean;
324
+ };
325
+ };
326
+ };
327
+ title?: string;
328
+ description?: string;
329
+ call_to_actions?: {
330
+ watch_now: {
331
+ url: string;
332
+ };
333
+ };
334
+ embeddable?: boolean;
335
+ };
336
+ mediaStats?: {
337
+ viewCount: number;
338
+ };
339
+ ext_media_availability: {
340
+ status: string;
341
+ };
172
342
  features: {
173
343
  large?: {
174
344
  faces: {
@@ -243,8 +413,20 @@ export interface CustomTweetObject {
243
413
  h: number;
244
414
  }[];
245
415
  };
246
- source_status_id_str?: string;
247
- source_user_id_str?: string;
416
+ video_info?: {
417
+ aspect_ratio: number[];
418
+ duration_millis?: number;
419
+ variants: {
420
+ bitrate?: number;
421
+ content_type: string;
422
+ url: string;
423
+ }[];
424
+ };
425
+ ext_alt_text?: string;
426
+ sensitive_media_warning?: {
427
+ other: boolean;
428
+ adult_content?: boolean;
429
+ };
248
430
  }[];
249
431
  };
250
432
  favorite_count: number;
@@ -252,6 +434,8 @@ export interface CustomTweetObject {
252
434
  full_text: string;
253
435
  is_quote_status: boolean;
254
436
  lang: string;
437
+ possibly_sensitive?: boolean;
438
+ possibly_sensitive_editable?: boolean;
255
439
  quote_count: number;
256
440
  reply_count: number;
257
441
  retweet_count: number;
@@ -270,16 +454,10 @@ export interface CustomTweetObject {
270
454
  rest_id: string;
271
455
  affiliates_highlighted_label: {
272
456
  label?: {
273
- url?: {
274
- url: string;
275
- urlType: string;
276
- };
277
457
  badge: {
278
458
  url: string;
279
459
  };
280
460
  description: string;
281
- userLabelType: string;
282
- userLabelDisplayType?: string;
283
461
  longDescription?: {
284
462
  text: string;
285
463
  entities: {
@@ -301,6 +479,12 @@ export interface CustomTweetObject {
301
479
  };
302
480
  }[];
303
481
  };
482
+ userLabelType: string;
483
+ url?: {
484
+ url: string;
485
+ urlType: string;
486
+ };
487
+ userLabelDisplayType?: string;
304
488
  };
305
489
  };
306
490
  has_graduated_access: boolean;
@@ -350,10 +534,10 @@ export interface CustomTweetObject {
350
534
  screen_name: string;
351
535
  statuses_count: number;
352
536
  translator_type: string;
537
+ url?: string;
353
538
  verified: boolean;
354
539
  want_retweets: boolean;
355
540
  withheld_in_countries: unknown[];
356
- url?: string;
357
541
  verified_type?: string;
358
542
  };
359
543
  professional?: {
@@ -383,13 +567,9 @@ export interface CustomTweetObject {
383
567
  edits_remaining: string;
384
568
  };
385
569
  };
386
- edit_perspective?: {
387
- favorited: boolean;
388
- retweeted: boolean;
389
- };
390
570
  is_translatable: boolean;
391
571
  views: {
392
- count?: string;
572
+ count: string;
393
573
  state: string;
394
574
  };
395
575
  source: string;
@@ -516,11 +696,85 @@ export interface CustomTweetObject {
516
696
  media_url_https: string;
517
697
  type: string;
518
698
  url: string;
699
+ ext_media_availability: {
700
+ status: string;
701
+ };
702
+ features: {
703
+ large?: {
704
+ faces: {
705
+ x: number;
706
+ y: number;
707
+ h: number;
708
+ w: number;
709
+ }[];
710
+ };
711
+ medium?: {
712
+ faces: {
713
+ x: number;
714
+ y: number;
715
+ h: number;
716
+ w: number;
717
+ }[];
718
+ };
719
+ small?: {
720
+ faces: {
721
+ x: number;
722
+ y: number;
723
+ h: number;
724
+ w: number;
725
+ }[];
726
+ };
727
+ orig?: {
728
+ faces: {
729
+ x: number;
730
+ y: number;
731
+ h: number;
732
+ w: number;
733
+ }[];
734
+ };
735
+ all?: {
736
+ tags: {
737
+ user_id: string;
738
+ name: string;
739
+ screen_name: string;
740
+ type: string;
741
+ }[];
742
+ };
743
+ };
744
+ sizes: {
745
+ large: {
746
+ h: number;
747
+ w: number;
748
+ resize: string;
749
+ };
750
+ medium: {
751
+ h: number;
752
+ w: number;
753
+ resize: string;
754
+ };
755
+ small: {
756
+ h: number;
757
+ w: number;
758
+ resize: string;
759
+ };
760
+ thumb: {
761
+ h: number;
762
+ w: number;
763
+ resize: string;
764
+ };
765
+ };
766
+ original_info: {
767
+ height: number;
768
+ width: number;
769
+ focus_rects?: {
770
+ x: number;
771
+ y: number;
772
+ w: number;
773
+ h: number;
774
+ }[];
775
+ };
519
776
  additional_media_info?: {
520
777
  monetizable: boolean;
521
- title?: string;
522
- description?: string;
523
- embeddable?: boolean;
524
778
  source_user?: {
525
779
  user_results: {
526
780
  result: {
@@ -588,92 +842,18 @@ export interface CustomTweetObject {
588
842
  };
589
843
  };
590
844
  };
845
+ title?: string;
846
+ description?: string;
591
847
  call_to_actions?: {
592
848
  watch_now: {
593
849
  url: string;
594
850
  };
595
851
  };
852
+ embeddable?: boolean;
596
853
  };
597
854
  mediaStats?: {
598
855
  viewCount: number;
599
856
  };
600
- ext_media_availability: {
601
- status: string;
602
- };
603
- features: {
604
- large?: {
605
- faces: {
606
- x: number;
607
- y: number;
608
- h: number;
609
- w: number;
610
- }[];
611
- };
612
- medium?: {
613
- faces: {
614
- x: number;
615
- y: number;
616
- h: number;
617
- w: number;
618
- }[];
619
- };
620
- small?: {
621
- faces: {
622
- x: number;
623
- y: number;
624
- h: number;
625
- w: number;
626
- }[];
627
- };
628
- orig?: {
629
- faces: {
630
- x: number;
631
- y: number;
632
- h: number;
633
- w: number;
634
- }[];
635
- };
636
- all?: {
637
- tags: {
638
- user_id: string;
639
- name: string;
640
- screen_name: string;
641
- type: string;
642
- }[];
643
- };
644
- };
645
- sizes: {
646
- large: {
647
- h: number;
648
- w: number;
649
- resize: string;
650
- };
651
- medium: {
652
- h: number;
653
- w: number;
654
- resize: string;
655
- };
656
- small: {
657
- h: number;
658
- w: number;
659
- resize: string;
660
- };
661
- thumb: {
662
- h: number;
663
- w: number;
664
- resize: string;
665
- };
666
- };
667
- original_info: {
668
- height: number;
669
- width: number;
670
- focus_rects?: {
671
- x: number;
672
- y: number;
673
- w: number;
674
- h: number;
675
- }[];
676
- };
677
857
  video_info?: {
678
858
  aspect_ratio: number[];
679
859
  duration_millis?: number;
@@ -710,224 +890,37 @@ export interface CustomTweetObject {
710
890
  in_reply_to_screen_name?: string;
711
891
  in_reply_to_status_id_str?: string;
712
892
  in_reply_to_user_id_str?: string;
713
- place?: {
714
- attributes: {};
715
- bounding_box: {
716
- coordinates: number[][][];
717
- type: string;
718
- };
719
- contained_within: unknown[];
720
- country: string;
721
- country_code: string;
722
- full_name: string;
723
- name: string;
724
- id: string;
725
- place_type: string;
726
- url: string;
727
- };
728
- scopes?: {
729
- followers: boolean;
730
- };
731
- };
732
- note_tweet?: {
733
- is_expandable: boolean;
734
- note_tweet_results: {
735
- result: {
736
- id: string;
737
- text: string;
738
- entity_set: {
739
- user_mentions: {
740
- id_str: string;
741
- name: string;
742
- screen_name: string;
743
- indices: number[];
744
- }[];
745
- urls: {
746
- display_url: string;
747
- expanded_url: string;
748
- url: string;
749
- indices: number[];
750
- }[];
751
- hashtags: {
752
- indices: number[];
753
- text: string;
754
- }[];
755
- symbols: unknown[];
756
- };
757
- richtext?: {
758
- richtext_tags: {
759
- from_index: number;
760
- to_index: number;
761
- richtext_types: string[];
762
- }[];
763
- };
764
- media?: {
765
- inline_media: unknown[];
766
- };
767
- };
768
- };
769
893
  };
770
- card?: {
771
- rest_id: string;
772
- legacy: {
773
- binding_values: {
774
- key: string;
775
- value: {
776
- string_value?: string;
777
- type: string;
778
- scribe_key?: string;
779
- user_value?: {
780
- id_str: string;
781
- path: unknown[];
782
- };
783
- image_value?: {
784
- height: number;
785
- width: number;
786
- url: string;
787
- alt?: string;
788
- };
789
- image_color_value?: {
790
- palette: {
791
- rgb: {
792
- blue: number;
793
- green: number;
794
- red: number;
795
- };
796
- percentage: number;
797
- }[];
798
- };
799
- boolean_value?: boolean;
800
- };
801
- }[];
802
- card_platform: {
803
- platform: {
804
- audience: {
805
- name: string;
806
- };
807
- device: {
808
- name: string;
809
- version: string;
810
- };
811
- };
812
- };
813
- name: string;
814
- url: string;
815
- user_refs_results: {
816
- result: {
817
- __typename: string;
818
- id: string;
819
- rest_id: string;
820
- affiliates_highlighted_label: {
821
- label?: {
822
- url: {
823
- url: string;
824
- urlType: string;
825
- };
826
- badge: {
827
- url: string;
828
- };
829
- description: string;
830
- userLabelType: string;
831
- userLabelDisplayType: string;
832
- };
833
- };
834
- has_graduated_access: boolean;
835
- is_blue_verified: boolean;
836
- profile_image_shape: string;
837
- legacy: {
838
- can_dm: boolean;
839
- can_media_tag: boolean;
840
- created_at: string;
841
- default_profile: boolean;
842
- default_profile_image: boolean;
843
- description: string;
844
- entities: {
845
- description: {
846
- urls: {
847
- display_url: string;
848
- expanded_url: string;
849
- url: string;
850
- indices: number[];
851
- }[];
852
- };
853
- url?: {
854
- urls: {
855
- display_url: string;
856
- expanded_url: string;
857
- url: string;
858
- indices: number[];
859
- }[];
860
- };
861
- };
862
- fast_followers_count: number;
863
- favourites_count: number;
864
- followers_count: number;
865
- friends_count: number;
866
- has_custom_timelines: boolean;
867
- is_translator: boolean;
868
- listed_count: number;
869
- location: string;
870
- media_count: number;
871
- name: string;
872
- normal_followers_count: number;
873
- pinned_tweet_ids_str: string[];
874
- possibly_sensitive: boolean;
875
- profile_banner_url: string;
876
- profile_image_url_https: string;
877
- profile_interstitial_type: string;
878
- screen_name: string;
879
- statuses_count: number;
880
- translator_type: string;
881
- url?: string;
882
- verified: boolean;
883
- want_retweets: boolean;
884
- withheld_in_countries: unknown[];
885
- verified_type?: string;
886
- };
887
- professional?: {
888
- rest_id: string;
889
- professional_type: string;
890
- category: {
891
- id: number;
892
- name: string;
893
- icon_name: string;
894
- }[];
895
- };
896
- };
897
- }[];
898
- };
899
- };
900
- unified_card?: {
901
- card_fetch_state: string;
902
- };
903
- quoted_status_result?: {
904
- result: {
905
- __typename: string;
906
- rest_id?: string;
907
- core?: {
908
- user_results: {
909
- result: {
910
- __typename: string;
911
- id: string;
912
- rest_id: string;
913
- affiliates_highlighted_label: {
914
- label?: {
915
- url: {
916
- url: string;
917
- urlType: string;
918
- };
919
- badge: {
920
- url: string;
921
- };
922
- description: string;
923
- userLabelType: string;
924
- userLabelDisplayType: string;
894
+ quoted_status_result?: {
895
+ result: {
896
+ __typename: string;
897
+ rest_id?: string;
898
+ core?: {
899
+ user_results: {
900
+ result: {
901
+ __typename: string;
902
+ id: string;
903
+ rest_id: string;
904
+ affiliates_highlighted_label: {
905
+ label?: {
906
+ url: {
907
+ url: string;
908
+ urlType: string;
909
+ };
910
+ badge: {
911
+ url: string;
912
+ };
913
+ description: string;
914
+ userLabelType: string;
915
+ userLabelDisplayType: string;
925
916
  };
926
917
  };
927
918
  has_graduated_access: boolean;
928
919
  is_blue_verified: boolean;
929
920
  profile_image_shape: string;
930
921
  legacy: {
922
+ followed_by?: boolean;
923
+ following?: boolean;
931
924
  can_dm: boolean;
932
925
  can_media_tag: boolean;
933
926
  created_at: string;
@@ -975,8 +968,6 @@ export interface CustomTweetObject {
975
968
  verified: boolean;
976
969
  want_retweets: boolean;
977
970
  withheld_in_countries: unknown[];
978
- followed_by?: boolean;
979
- following?: boolean;
980
971
  verified_type?: string;
981
972
  };
982
973
  professional?: {
@@ -1005,13 +996,9 @@ export interface CustomTweetObject {
1005
996
  edits_remaining: string;
1006
997
  };
1007
998
  };
1008
- edit_perspective?: {
1009
- favorited: boolean;
1010
- retweeted: boolean;
1011
- };
1012
999
  is_translatable?: boolean;
1013
1000
  views?: {
1014
- count?: string;
1001
+ count: string;
1015
1002
  state: string;
1016
1003
  };
1017
1004
  source?: string;
@@ -1210,26 +1197,29 @@ export interface CustomTweetObject {
1210
1197
  h: number;
1211
1198
  }[];
1212
1199
  };
1213
- additional_media_info?: {
1214
- monetizable: boolean;
1215
- };
1216
- mediaStats?: {
1217
- viewCount: number;
1218
- };
1219
1200
  video_info?: {
1220
1201
  aspect_ratio: number[];
1221
- duration_millis?: number;
1222
1202
  variants: {
1223
1203
  bitrate?: number;
1224
1204
  content_type: string;
1225
1205
  url: string;
1226
1206
  }[];
1207
+ duration_millis?: number;
1208
+ };
1209
+ additional_media_info?: {
1210
+ monetizable: boolean;
1211
+ };
1212
+ mediaStats?: {
1213
+ viewCount: number;
1227
1214
  };
1228
1215
  }[];
1229
1216
  };
1230
1217
  favorite_count: number;
1231
1218
  favorited: boolean;
1232
1219
  full_text: string;
1220
+ in_reply_to_screen_name?: string;
1221
+ in_reply_to_status_id_str?: string;
1222
+ in_reply_to_user_id_str?: string;
1233
1223
  is_quote_status: boolean;
1234
1224
  lang: string;
1235
1225
  possibly_sensitive?: boolean;
@@ -1240,30 +1230,12 @@ export interface CustomTweetObject {
1240
1230
  retweeted: boolean;
1241
1231
  user_id_str: string;
1242
1232
  id_str: string;
1243
- in_reply_to_screen_name?: string;
1244
- in_reply_to_status_id_str?: string;
1245
- in_reply_to_user_id_str?: string;
1246
1233
  quoted_status_id_str?: string;
1247
1234
  quoted_status_permalink?: {
1248
1235
  url: string;
1249
1236
  expanded: string;
1250
1237
  display: string;
1251
1238
  };
1252
- place?: {
1253
- attributes: {};
1254
- bounding_box: {
1255
- coordinates: number[][][];
1256
- type: string;
1257
- };
1258
- contained_within: unknown[];
1259
- country: string;
1260
- country_code: string;
1261
- full_name: string;
1262
- name: string;
1263
- id: string;
1264
- place_type: string;
1265
- url: string;
1266
- };
1267
1239
  };
1268
1240
  quotedRefResult?: {
1269
1241
  result: {
@@ -1271,6 +1243,10 @@ export interface CustomTweetObject {
1271
1243
  rest_id: string;
1272
1244
  };
1273
1245
  };
1246
+ edit_perspective?: {
1247
+ favorited: boolean;
1248
+ retweeted: boolean;
1249
+ };
1274
1250
  tweet?: {
1275
1251
  rest_id: string;
1276
1252
  core: {
@@ -1375,7 +1351,7 @@ export interface CustomTweetObject {
1375
1351
  conversation_id_str: string;
1376
1352
  display_text_range: number[];
1377
1353
  entities: {
1378
- media?: {
1354
+ media: {
1379
1355
  display_url: string;
1380
1356
  expanded_url: string;
1381
1357
  id_str: string;
@@ -1463,7 +1439,7 @@ export interface CustomTweetObject {
1463
1439
  }[];
1464
1440
  symbols: unknown[];
1465
1441
  };
1466
- extended_entities?: {
1442
+ extended_entities: {
1467
1443
  media: {
1468
1444
  display_url: string;
1469
1445
  expanded_url: string;
@@ -1559,51 +1535,6 @@ export interface CustomTweetObject {
1559
1535
  user_id_str: string;
1560
1536
  id_str: string;
1561
1537
  };
1562
- card?: {
1563
- rest_id: string;
1564
- legacy: {
1565
- binding_values: {
1566
- key: string;
1567
- value: {
1568
- image_value?: {
1569
- height: number;
1570
- width: number;
1571
- url: string;
1572
- };
1573
- type: string;
1574
- string_value?: string;
1575
- scribe_key?: string;
1576
- image_color_value?: {
1577
- palette: {
1578
- rgb: {
1579
- blue: number;
1580
- green: number;
1581
- red: number;
1582
- };
1583
- percentage: number;
1584
- }[];
1585
- };
1586
- };
1587
- }[];
1588
- card_platform: {
1589
- platform: {
1590
- audience: {
1591
- name: string;
1592
- };
1593
- device: {
1594
- name: string;
1595
- version: string;
1596
- };
1597
- };
1598
- };
1599
- name: string;
1600
- url: string;
1601
- user_refs_results: unknown[];
1602
- };
1603
- };
1604
- unified_card?: {
1605
- card_fetch_state: string;
1606
- };
1607
1538
  };
1608
1539
  limitedActionResults?: {
1609
1540
  limited_actions: {
@@ -1647,15 +1578,16 @@ export interface CustomTweetObject {
1647
1578
  }[];
1648
1579
  symbols: unknown[];
1649
1580
  };
1650
- richtext?: {
1651
- richtext_tags: unknown[];
1652
- };
1653
- media?: {
1654
- inline_media: unknown[];
1655
- };
1656
1581
  };
1657
1582
  };
1658
1583
  };
1584
+ previous_counts?: {
1585
+ bookmark_count: number;
1586
+ favorite_count: number;
1587
+ quote_count: number;
1588
+ reply_count: number;
1589
+ retweet_count: number;
1590
+ };
1659
1591
  card?: {
1660
1592
  rest_id: string;
1661
1593
  legacy: {
@@ -1664,13 +1596,13 @@ export interface CustomTweetObject {
1664
1596
  value: {
1665
1597
  string_value?: string;
1666
1598
  type: string;
1667
- scribe_key?: string;
1668
1599
  image_value?: {
1669
1600
  height: number;
1670
1601
  width: number;
1671
1602
  url: string;
1672
1603
  alt?: string;
1673
1604
  };
1605
+ scribe_key?: string;
1674
1606
  user_value?: {
1675
1607
  id_str: string;
1676
1608
  path: unknown[];
@@ -1764,9 +1696,9 @@ export interface CustomTweetObject {
1764
1696
  translator_type: string;
1765
1697
  url: string;
1766
1698
  verified: boolean;
1699
+ verified_type: string;
1767
1700
  want_retweets: boolean;
1768
1701
  withheld_in_countries: unknown[];
1769
- verified_type?: string;
1770
1702
  };
1771
1703
  };
1772
1704
  }[];
@@ -1775,13 +1707,6 @@ export interface CustomTweetObject {
1775
1707
  unified_card?: {
1776
1708
  card_fetch_state: string;
1777
1709
  };
1778
- previous_counts?: {
1779
- bookmark_count: number;
1780
- favorite_count: number;
1781
- quote_count: number;
1782
- reply_count: number;
1783
- retweet_count: number;
1784
- };
1785
1710
  tombstone?: {
1786
1711
  __typename: string;
1787
1712
  text: {
@@ -1800,54 +1725,77 @@ export interface CustomTweetObject {
1800
1725
  };
1801
1726
  };
1802
1727
  };
1803
- previous_counts?: {
1804
- bookmark_count: number;
1805
- favorite_count: number;
1806
- quote_count: number;
1807
- reply_count: number;
1808
- retweet_count: number;
1809
- };
1810
- };
1811
- };
1812
- extended_entities?: {
1813
- media: {
1814
- display_url: string;
1815
- expanded_url: string;
1816
- id_str: string;
1817
- indices: number[];
1818
- media_key: string;
1819
- media_url_https: string;
1820
- type: string;
1821
- url: string;
1822
- additional_media_info?: {
1823
- monetizable: boolean;
1824
- source_user?: {
1825
- user_results: {
1826
- result: {
1827
- __typename: string;
1828
- id: string;
1829
- rest_id: string;
1830
- affiliates_highlighted_label: {
1831
- label?: {
1832
- url: {
1833
- url: string;
1834
- urlType: string;
1835
- };
1836
- badge: {
1837
- url: string;
1838
- };
1839
- description: string;
1840
- userLabelType: string;
1841
- userLabelDisplayType: string;
1842
- };
1843
- };
1844
- has_graduated_access: boolean;
1845
- is_blue_verified: boolean;
1846
- profile_image_shape: string;
1847
- legacy: {
1848
- can_dm: boolean;
1849
- can_media_tag: boolean;
1850
- created_at: string;
1728
+ card?: {
1729
+ rest_id: string;
1730
+ legacy: {
1731
+ binding_values: {
1732
+ key: string;
1733
+ value: {
1734
+ image_value?: {
1735
+ height: number;
1736
+ width: number;
1737
+ url: string;
1738
+ alt?: string;
1739
+ };
1740
+ type: string;
1741
+ string_value?: string;
1742
+ scribe_key?: string;
1743
+ user_value?: {
1744
+ id_str: string;
1745
+ path: unknown[];
1746
+ };
1747
+ image_color_value?: {
1748
+ palette: {
1749
+ rgb: {
1750
+ blue: number;
1751
+ green: number;
1752
+ red: number;
1753
+ };
1754
+ percentage: number;
1755
+ }[];
1756
+ };
1757
+ boolean_value?: boolean;
1758
+ };
1759
+ }[];
1760
+ card_platform: {
1761
+ platform: {
1762
+ audience: {
1763
+ name: string;
1764
+ };
1765
+ device: {
1766
+ name: string;
1767
+ version: string;
1768
+ };
1769
+ };
1770
+ };
1771
+ name: string;
1772
+ url: string;
1773
+ user_refs_results: {
1774
+ result: {
1775
+ __typename: string;
1776
+ id: string;
1777
+ rest_id: string;
1778
+ affiliates_highlighted_label: {
1779
+ label?: {
1780
+ url: {
1781
+ url: string;
1782
+ urlType: string;
1783
+ };
1784
+ badge: {
1785
+ url: string;
1786
+ };
1787
+ description: string;
1788
+ userLabelType: string;
1789
+ userLabelDisplayType: string;
1790
+ };
1791
+ };
1792
+ has_graduated_access: boolean;
1793
+ is_blue_verified: boolean;
1794
+ profile_image_shape: string;
1795
+ legacy: {
1796
+ can_dm: boolean;
1797
+ can_media_tag: boolean;
1798
+ created_at: string;
1851
1799
  default_profile: boolean;
1852
1800
  default_profile_image: boolean;
1853
1801
  description: string;
@@ -1882,17 +1830,17 @@ export interface CustomTweetObject {
1882
1830
  normal_followers_count: number;
1883
1831
  pinned_tweet_ids_str: string[];
1884
1832
  possibly_sensitive: boolean;
1885
- profile_banner_url?: string;
1833
+ profile_banner_url: string;
1886
1834
  profile_image_url_https: string;
1887
1835
  profile_interstitial_type: string;
1888
1836
  screen_name: string;
1889
1837
  statuses_count: number;
1890
1838
  translator_type: string;
1839
+ url?: string;
1891
1840
  verified: boolean;
1841
+ verified_type?: string;
1892
1842
  want_retweets: boolean;
1893
1843
  withheld_in_countries: unknown[];
1894
- url?: string;
1895
- verified_type?: string;
1896
1844
  };
1897
1845
  professional?: {
1898
1846
  rest_id: string;
@@ -1903,128 +1851,76 @@ export interface CustomTweetObject {
1903
1851
  icon_name: string;
1904
1852
  }[];
1905
1853
  };
1906
- super_follow_eligible?: boolean;
1907
1854
  };
1908
- };
1909
- };
1910
- title?: string;
1911
- description?: string;
1912
- call_to_actions?: {
1913
- watch_now?: {
1914
- url: string;
1915
- };
1916
- visit_site?: {
1917
- url: string;
1918
- };
1919
- };
1920
- embeddable?: boolean;
1921
- };
1922
- mediaStats?: {
1923
- viewCount: number;
1924
- };
1925
- ext_media_availability: {
1926
- status: string;
1927
- };
1928
- features: {
1929
- large?: {
1930
- faces: {
1931
- x: number;
1932
- y: number;
1933
- h: number;
1934
- w: number;
1935
- }[];
1936
- };
1937
- medium?: {
1938
- faces: {
1939
- x: number;
1940
- y: number;
1941
- h: number;
1942
- w: number;
1943
- }[];
1944
- };
1945
- small?: {
1946
- faces: {
1947
- x: number;
1948
- y: number;
1949
- h: number;
1950
- w: number;
1951
- }[];
1952
- };
1953
- orig?: {
1954
- faces: {
1955
- x: number;
1956
- y: number;
1957
- h: number;
1958
- w: number;
1959
- }[];
1960
- };
1961
- all?: {
1962
- tags: {
1963
- user_id: string;
1964
- name: string;
1965
- screen_name: string;
1966
- type: string;
1967
1855
  }[];
1968
1856
  };
1969
1857
  };
1970
- sizes: {
1971
- large: {
1972
- h: number;
1973
- w: number;
1974
- resize: string;
1975
- };
1976
- medium: {
1977
- h: number;
1978
- w: number;
1979
- resize: string;
1980
- };
1981
- small: {
1982
- h: number;
1983
- w: number;
1984
- resize: string;
1985
- };
1986
- thumb: {
1987
- h: number;
1988
- w: number;
1989
- resize: string;
1990
- };
1858
+ unified_card?: {
1859
+ card_fetch_state: string;
1991
1860
  };
1992
- original_info: {
1993
- height: number;
1994
- width: number;
1995
- focus_rects?: {
1996
- x: number;
1997
- y: number;
1998
- w: number;
1999
- h: number;
2000
- }[];
1861
+ note_tweet?: {
1862
+ is_expandable: boolean;
1863
+ note_tweet_results: {
1864
+ result: {
1865
+ id: string;
1866
+ text: string;
1867
+ entity_set: {
1868
+ user_mentions: {
1869
+ id_str: string;
1870
+ name: string;
1871
+ screen_name: string;
1872
+ indices: number[];
1873
+ }[];
1874
+ urls: {
1875
+ display_url: string;
1876
+ expanded_url: string;
1877
+ url: string;
1878
+ indices: number[];
1879
+ }[];
1880
+ hashtags: {
1881
+ indices: number[];
1882
+ text: string;
1883
+ }[];
1884
+ symbols: {
1885
+ indices: number[];
1886
+ text: string;
1887
+ }[];
1888
+ };
1889
+ richtext?: {
1890
+ richtext_tags: {
1891
+ from_index: number;
1892
+ to_index: number;
1893
+ richtext_types: string[];
1894
+ }[];
1895
+ };
1896
+ media?: {
1897
+ inline_media: unknown[];
1898
+ };
1899
+ };
1900
+ };
2001
1901
  };
2002
- video_info?: {
2003
- aspect_ratio: number[];
2004
- duration_millis?: number;
2005
- variants: {
2006
- bitrate?: number;
2007
- content_type: string;
2008
- url: string;
2009
- }[];
1902
+ edit_perspective?: {
1903
+ favorited: boolean;
1904
+ retweeted: boolean;
2010
1905
  };
2011
- source_status_id_str?: string;
2012
- source_user_id_str?: string;
2013
- ext_alt_text?: string;
2014
- sensitive_media_warning?: {
2015
- other: boolean;
2016
- adult_content?: boolean;
1906
+ previous_counts?: {
1907
+ bookmark_count: number;
1908
+ favorite_count: number;
1909
+ quote_count: number;
1910
+ reply_count: number;
1911
+ retweet_count: number;
2017
1912
  };
2018
- }[];
1913
+ };
2019
1914
  };
2020
- possibly_sensitive?: boolean;
2021
- possibly_sensitive_editable?: boolean;
2022
1915
  quoted_status_id_str?: string;
2023
1916
  quoted_status_permalink?: {
2024
1917
  url: string;
2025
1918
  expanded: string;
2026
1919
  display: string;
2027
1920
  };
1921
+ in_reply_to_screen_name?: string;
1922
+ in_reply_to_status_id_str?: string;
1923
+ in_reply_to_user_id_str?: string;
2028
1924
  place?: {
2029
1925
  attributes: {};
2030
1926
  bounding_box: {
@@ -2040,9 +1936,6 @@ export interface CustomTweetObject {
2040
1936
  place_type: string;
2041
1937
  url: string;
2042
1938
  };
2043
- in_reply_to_screen_name?: string;
2044
- in_reply_to_status_id_str?: string;
2045
- in_reply_to_user_id_str?: string;
2046
1939
  coordinates?: {
2047
1940
  type: string;
2048
1941
  coordinates: number[];
@@ -2052,6 +1945,156 @@ export interface CustomTweetObject {
2052
1945
  coordinates: number[];
2053
1946
  };
2054
1947
  };
1948
+ card?: {
1949
+ rest_id: string;
1950
+ legacy: {
1951
+ binding_values: {
1952
+ key: string;
1953
+ value: {
1954
+ image_value?: {
1955
+ height: number;
1956
+ width: number;
1957
+ url: string;
1958
+ alt?: string;
1959
+ };
1960
+ type: string;
1961
+ string_value?: string;
1962
+ scribe_key?: string;
1963
+ user_value?: {
1964
+ id_str: string;
1965
+ path: unknown[];
1966
+ };
1967
+ image_color_value?: {
1968
+ palette: {
1969
+ rgb: {
1970
+ blue: number;
1971
+ green: number;
1972
+ red: number;
1973
+ };
1974
+ percentage: number;
1975
+ }[];
1976
+ };
1977
+ boolean_value?: boolean;
1978
+ };
1979
+ }[];
1980
+ card_platform: {
1981
+ platform: {
1982
+ audience: {
1983
+ name: string;
1984
+ };
1985
+ device: {
1986
+ name: string;
1987
+ version: string;
1988
+ };
1989
+ };
1990
+ };
1991
+ name: string;
1992
+ url: string;
1993
+ user_refs_results: {
1994
+ result: {
1995
+ __typename: string;
1996
+ id?: string;
1997
+ rest_id?: string;
1998
+ affiliates_highlighted_label?: {
1999
+ label?: {
2000
+ url: {
2001
+ url: string;
2002
+ urlType: string;
2003
+ };
2004
+ badge: {
2005
+ url: string;
2006
+ };
2007
+ description: string;
2008
+ userLabelType: string;
2009
+ userLabelDisplayType: string;
2010
+ };
2011
+ };
2012
+ has_graduated_access?: boolean;
2013
+ is_blue_verified?: boolean;
2014
+ profile_image_shape?: string;
2015
+ legacy?: {
2016
+ can_dm: boolean;
2017
+ can_media_tag: boolean;
2018
+ created_at: string;
2019
+ default_profile: boolean;
2020
+ default_profile_image: boolean;
2021
+ description: string;
2022
+ entities: {
2023
+ description: {
2024
+ urls: {
2025
+ display_url: string;
2026
+ expanded_url: string;
2027
+ url: string;
2028
+ indices: number[];
2029
+ }[];
2030
+ };
2031
+ url?: {
2032
+ urls: {
2033
+ display_url?: string;
2034
+ expanded_url?: string;
2035
+ url: string;
2036
+ indices: number[];
2037
+ }[];
2038
+ };
2039
+ };
2040
+ fast_followers_count: number;
2041
+ favourites_count: number;
2042
+ followers_count: number;
2043
+ friends_count: number;
2044
+ has_custom_timelines: boolean;
2045
+ is_translator: boolean;
2046
+ listed_count: number;
2047
+ location: string;
2048
+ media_count: number;
2049
+ name: string;
2050
+ normal_followers_count: number;
2051
+ pinned_tweet_ids_str: string[];
2052
+ possibly_sensitive: boolean;
2053
+ profile_banner_url?: string;
2054
+ profile_image_url_https: string;
2055
+ profile_interstitial_type: string;
2056
+ screen_name: string;
2057
+ statuses_count: number;
2058
+ translator_type: string;
2059
+ url?: string;
2060
+ verified: boolean;
2061
+ verified_type?: string;
2062
+ want_retweets: boolean;
2063
+ withheld_in_countries: unknown[];
2064
+ followed_by?: boolean;
2065
+ following?: boolean;
2066
+ blocking?: boolean;
2067
+ };
2068
+ professional?: {
2069
+ rest_id: string;
2070
+ professional_type: string;
2071
+ category: {
2072
+ id: number;
2073
+ name: string;
2074
+ icon_name: string;
2075
+ }[];
2076
+ };
2077
+ unavailable_message?: {
2078
+ rtl: boolean;
2079
+ text: string;
2080
+ entities: {
2081
+ fromIndex: number;
2082
+ toIndex: number;
2083
+ ref: {
2084
+ type: string;
2085
+ url: string;
2086
+ urlType: string;
2087
+ };
2088
+ }[];
2089
+ };
2090
+ reason?: string;
2091
+ };
2092
+ }[];
2093
+ };
2094
+ };
2095
+ unified_card?: {
2096
+ card_fetch_state: string;
2097
+ };
2055
2098
  quoted_status_result?: {
2056
2099
  result: {
2057
2100
  __typename: string;
@@ -2128,6 +2171,7 @@ export interface CustomTweetObject {
2128
2171
  withheld_in_countries: unknown[];
2129
2172
  url?: string;
2130
2173
  verified_type?: string;
2174
+ blocking?: boolean;
2131
2175
  following?: boolean;
2132
2176
  };
2133
2177
  professional?: {
@@ -2157,10 +2201,6 @@ export interface CustomTweetObject {
2157
2201
  edits_remaining: string;
2158
2202
  };
2159
2203
  };
2160
- edit_perspective?: {
2161
- favorited: boolean;
2162
- retweeted: boolean;
2163
- };
2164
2204
  is_translatable?: boolean;
2165
2205
  views?: {
2166
2206
  count?: string;
@@ -2174,23 +2214,6 @@ export interface CustomTweetObject {
2174
2214
  conversation_id_str: string;
2175
2215
  display_text_range: number[];
2176
2216
  entities: {
2177
- user_mentions: {
2178
- id_str: string;
2179
- name: string;
2180
- screen_name: string;
2181
- indices: number[];
2182
- }[];
2183
- urls: {
2184
- display_url: string;
2185
- expanded_url: string;
2186
- url: string;
2187
- indices: number[];
2188
- }[];
2189
- hashtags: {
2190
- indices: number[];
2191
- text: string;
2192
- }[];
2193
- symbols: unknown[];
2194
2217
  media?: {
2195
2218
  display_url: string;
2196
2219
  expanded_url: string;
@@ -2276,18 +2299,24 @@ export interface CustomTweetObject {
2276
2299
  source_status_id_str?: string;
2277
2300
  source_user_id_str?: string;
2278
2301
  }[];
2302
+ user_mentions: {
2303
+ id_str: string;
2304
+ name: string;
2305
+ screen_name: string;
2306
+ indices: number[];
2307
+ }[];
2308
+ urls: {
2309
+ display_url: string;
2310
+ expanded_url: string;
2311
+ url: string;
2312
+ indices: number[];
2313
+ }[];
2314
+ hashtags: {
2315
+ indices: number[];
2316
+ text: string;
2317
+ }[];
2318
+ symbols: unknown[];
2279
2319
  };
2280
- favorite_count: number;
2281
- favorited: boolean;
2282
- full_text: string;
2283
- is_quote_status: boolean;
2284
- lang: string;
2285
- quote_count: number;
2286
- reply_count: number;
2287
- retweet_count: number;
2288
- retweeted: boolean;
2289
- user_id_str: string;
2290
- id_str: string;
2291
2320
  extended_entities?: {
2292
2321
  media: {
2293
2322
  display_url: string;
@@ -2377,15 +2406,6 @@ export interface CustomTweetObject {
2377
2406
  };
2378
2407
  source_status_id_str?: string;
2379
2408
  source_user_id_str?: string;
2380
- video_info?: {
2381
- aspect_ratio: number[];
2382
- variants: {
2383
- bitrate?: number;
2384
- content_type: string;
2385
- url: string;
2386
- }[];
2387
- duration_millis?: number;
2388
- };
2389
2409
  additional_media_info?: {
2390
2410
  monetizable: boolean;
2391
2411
  title?: string;
@@ -2395,65 +2415,44 @@ export interface CustomTweetObject {
2395
2415
  mediaStats?: {
2396
2416
  viewCount: number;
2397
2417
  };
2398
- ext_alt_text?: string;
2399
- }[];
2400
- };
2401
- possibly_sensitive?: boolean;
2402
- possibly_sensitive_editable?: boolean;
2403
- quoted_status_id_str?: string;
2404
- quoted_status_permalink?: {
2405
- url: string;
2406
- expanded: string;
2407
- display: string;
2408
- };
2409
- in_reply_to_screen_name?: string;
2410
- in_reply_to_status_id_str?: string;
2411
- in_reply_to_user_id_str?: string;
2412
- };
2413
- quotedRefResult?: {
2414
- result: {
2415
- __typename: string;
2416
- rest_id?: string;
2417
- tweet?: {
2418
- rest_id: string;
2419
- };
2420
- };
2421
- };
2422
- note_tweet?: {
2423
- is_expandable: boolean;
2424
- note_tweet_results: {
2425
- result: {
2426
- id: string;
2427
- text: string;
2428
- entity_set: {
2429
- user_mentions: {
2430
- id_str: string;
2431
- name: string;
2432
- screen_name: string;
2433
- indices: number[];
2434
- }[];
2435
- urls: {
2436
- display_url: string;
2437
- expanded_url: string;
2418
+ video_info?: {
2419
+ aspect_ratio: number[];
2420
+ duration_millis?: number;
2421
+ variants: {
2422
+ bitrate?: number;
2423
+ content_type: string;
2438
2424
  url: string;
2439
- indices: number[];
2440
- }[];
2441
- hashtags: {
2442
- indices: number[];
2443
- text: string;
2444
- }[];
2445
- symbols: unknown[];
2446
- };
2447
- richtext: {
2448
- richtext_tags: {
2449
- from_index: number;
2450
- to_index: number;
2451
- richtext_types: string[];
2452
- }[];
2453
- };
2454
- media: {
2455
- inline_media: unknown[];
2425
+ }[];
2456
2426
  };
2427
+ ext_alt_text?: string;
2428
+ }[];
2429
+ };
2430
+ favorite_count: number;
2431
+ favorited: boolean;
2432
+ full_text: string;
2433
+ is_quote_status: boolean;
2434
+ lang: string;
2435
+ possibly_sensitive?: boolean;
2436
+ possibly_sensitive_editable?: boolean;
2437
+ quote_count: number;
2438
+ reply_count: number;
2439
+ retweet_count: number;
2440
+ retweeted: boolean;
2441
+ user_id_str: string;
2442
+ id_str: string;
2443
+ quoted_status_id_str?: string;
2444
+ quoted_status_permalink?: {
2445
+ url: string;
2446
+ expanded: string;
2447
+ display: string;
2448
+ };
2449
+ };
2450
+ quotedRefResult?: {
2451
+ result: {
2452
+ __typename: string;
2453
+ rest_id?: string;
2454
+ tweet?: {
2455
+ rest_id: string;
2457
2456
  };
2458
2457
  };
2459
2458
  };
@@ -2463,19 +2462,19 @@ export interface CustomTweetObject {
2463
2462
  binding_values: {
2464
2463
  key: string;
2465
2464
  value: {
2466
- string_value?: string;
2465
+ image_value?: {
2466
+ height: number;
2467
+ width: number;
2468
+ url: string;
2469
+ alt?: string;
2470
+ };
2467
2471
  type: string;
2472
+ string_value?: string;
2468
2473
  scribe_key?: string;
2469
2474
  user_value?: {
2470
2475
  id_str: string;
2471
2476
  path: unknown[];
2472
2477
  };
2473
- image_value?: {
2474
- alt?: string;
2475
- height: number;
2476
- width: number;
2477
- url: string;
2478
- };
2479
2478
  image_color_value?: {
2480
2479
  palette: {
2481
2480
  rgb: {
@@ -2570,9 +2569,9 @@ export interface CustomTweetObject {
2570
2569
  translator_type: string;
2571
2570
  url: string;
2572
2571
  verified: boolean;
2573
- verified_type?: string;
2574
2572
  want_retweets: boolean;
2575
2573
  withheld_in_countries: unknown[];
2574
+ verified_type?: string;
2576
2575
  };
2577
2576
  professional?: {
2578
2577
  rest_id: string;
@@ -2590,6 +2589,45 @@ export interface CustomTweetObject {
2590
2589
  unified_card?: {
2591
2590
  card_fetch_state: string;
2592
2591
  };
2592
+ edit_perspective?: {
2593
+ favorited: boolean;
2594
+ retweeted: boolean;
2595
+ };
2596
+ note_tweet?: {
2597
+ is_expandable: boolean;
2598
+ note_tweet_results: {
2599
+ result: {
2600
+ id: string;
2601
+ text: string;
2602
+ entity_set: {
2603
+ user_mentions: {
2604
+ id_str: string;
2605
+ name: string;
2606
+ screen_name: string;
2607
+ indices: number[];
2608
+ }[];
2609
+ urls: {
2610
+ display_url: string;
2611
+ expanded_url: string;
2612
+ url: string;
2613
+ indices: number[];
2614
+ }[];
2615
+ hashtags: unknown[];
2616
+ symbols: unknown[];
2617
+ };
2618
+ richtext: {
2619
+ richtext_tags: {
2620
+ from_index: number;
2621
+ to_index: number;
2622
+ richtext_types: string[];
2623
+ }[];
2624
+ };
2625
+ media: {
2626
+ inline_media: unknown[];
2627
+ };
2628
+ };
2629
+ };
2630
+ };
2593
2631
  tombstone?: {
2594
2632
  __typename: string;
2595
2633
  text: {
@@ -2626,7 +2664,7 @@ export interface CustomTweetObject {
2626
2664
  is_blue_verified: boolean;
2627
2665
  profile_image_shape: string;
2628
2666
  legacy: {
2629
- blocking: boolean;
2667
+ blocking?: boolean;
2630
2668
  can_dm: boolean;
2631
2669
  can_media_tag: boolean;
2632
2670
  created_at: string;
@@ -2642,7 +2680,7 @@ export interface CustomTweetObject {
2642
2680
  indices: number[];
2643
2681
  }[];
2644
2682
  };
2645
- url: {
2683
+ url?: {
2646
2684
  urls: {
2647
2685
  display_url: string;
2648
2686
  expanded_url: string;
@@ -2662,7 +2700,7 @@ export interface CustomTweetObject {
2662
2700
  media_count: number;
2663
2701
  name: string;
2664
2702
  normal_followers_count: number;
2665
- pinned_tweet_ids_str: unknown[];
2703
+ pinned_tweet_ids_str: string[];
2666
2704
  possibly_sensitive: boolean;
2667
2705
  profile_banner_url: string;
2668
2706
  profile_image_url_https: string;
@@ -2670,16 +2708,16 @@ export interface CustomTweetObject {
2670
2708
  screen_name: string;
2671
2709
  statuses_count: number;
2672
2710
  translator_type: string;
2673
- url: string;
2711
+ url?: string;
2674
2712
  verified: boolean;
2675
- verified_type: string;
2713
+ verified_type?: string;
2676
2714
  want_retweets: boolean;
2677
2715
  withheld_in_countries: unknown[];
2678
2716
  };
2679
2717
  };
2680
2718
  };
2681
2719
  };
2682
- card: {
2720
+ card?: {
2683
2721
  rest_id: string;
2684
2722
  legacy: {
2685
2723
  binding_values: {
@@ -2721,7 +2759,7 @@ export interface CustomTweetObject {
2721
2759
  user_refs_results: unknown[];
2722
2760
  };
2723
2761
  };
2724
- unified_card: {
2762
+ unified_card?: {
2725
2763
  card_fetch_state: string;
2726
2764
  };
2727
2765
  edit_control: {
@@ -2730,7 +2768,7 @@ export interface CustomTweetObject {
2730
2768
  is_edit_eligible: boolean;
2731
2769
  edits_remaining: string;
2732
2770
  };
2733
- edit_perspective: {
2771
+ edit_perspective?: {
2734
2772
  favorited: boolean;
2735
2773
  retweeted: boolean;
2736
2774
  };
@@ -2762,14 +2800,26 @@ export interface CustomTweetObject {
2762
2800
  full_text: string;
2763
2801
  is_quote_status: boolean;
2764
2802
  lang: string;
2765
- possibly_sensitive: boolean;
2766
- possibly_sensitive_editable: boolean;
2803
+ possibly_sensitive?: boolean;
2804
+ possibly_sensitive_editable?: boolean;
2767
2805
  quote_count: number;
2768
2806
  reply_count: number;
2769
2807
  retweet_count: number;
2770
2808
  retweeted: boolean;
2771
2809
  user_id_str: string;
2772
2810
  id_str: string;
2811
+ conversation_control?: {
2812
+ policy: string;
2813
+ conversation_owner_results: {
2814
+ result: {
2815
+ __typename: string;
2816
+ legacy: {
2817
+ screen_name: string;
2818
+ };
2819
+ };
2820
+ };
2821
+ };
2822
+ limited_actions?: string;
2773
2823
  };
2774
2824
  };
2775
2825
  tweetInterstitial?: {
@@ -2786,8 +2836,36 @@ export interface CustomTweetObject {
2786
2836
  entities: unknown[];
2787
2837
  };
2788
2838
  };
2839
+ limitedActionResults?: {
2840
+ limited_actions: {
2841
+ action: string;
2842
+ prompt: {
2843
+ __typename: string;
2844
+ cta_type: string;
2845
+ headline: {
2846
+ text: string;
2847
+ entities: unknown[];
2848
+ };
2849
+ subtext: {
2850
+ text: string;
2851
+ entities: unknown[];
2852
+ };
2853
+ };
2854
+ }[];
2855
+ };
2789
2856
  };
2790
2857
  };
2858
+ previous_counts?: {
2859
+ bookmark_count: number;
2860
+ favorite_count: number;
2861
+ quote_count: number;
2862
+ reply_count: number;
2863
+ retweet_count: number;
2864
+ };
2865
+ edit_perspective?: {
2866
+ favorited: boolean;
2867
+ retweeted: boolean;
2868
+ };
2791
2869
  tweet?: {
2792
2870
  rest_id: string;
2793
2871
  core: {
@@ -2814,6 +2892,7 @@ export interface CustomTweetObject {
2814
2892
  is_blue_verified: boolean;
2815
2893
  profile_image_shape: string;
2816
2894
  legacy: {
2895
+ followed_by?: boolean;
2817
2896
  following?: boolean;
2818
2897
  can_dm: boolean;
2819
2898
  can_media_tag: boolean;
@@ -2861,7 +2940,6 @@ export interface CustomTweetObject {
2861
2940
  verified: boolean;
2862
2941
  want_retweets: boolean;
2863
2942
  withheld_in_countries: unknown[];
2864
- followed_by?: boolean;
2865
2943
  url?: string;
2866
2944
  };
2867
2945
  professional?: {
@@ -3018,6 +3096,8 @@ export interface CustomTweetObject {
3018
3096
  is_quote_status: boolean;
3019
3097
  lang: string;
3020
3098
  limited_actions: string;
3099
+ possibly_sensitive?: boolean;
3100
+ possibly_sensitive_editable?: boolean;
3021
3101
  quote_count: number;
3022
3102
  reply_count: number;
3023
3103
  retweet_count: number;
@@ -3055,7 +3135,7 @@ export interface CustomTweetObject {
3055
3135
  indices: number[];
3056
3136
  }[];
3057
3137
  };
3058
- url?: {
3138
+ url: {
3059
3139
  urls: {
3060
3140
  display_url: string;
3061
3141
  expanded_url: string;
@@ -3083,7 +3163,7 @@ export interface CustomTweetObject {
3083
3163
  screen_name: string;
3084
3164
  statuses_count: number;
3085
3165
  translator_type: string;
3086
- url?: string;
3166
+ url: string;
3087
3167
  verified: boolean;
3088
3168
  want_retweets: boolean;
3089
3169
  withheld_in_countries: unknown[];
@@ -3092,11 +3172,7 @@ export interface CustomTweetObject {
3092
3172
  professional?: {
3093
3173
  rest_id: string;
3094
3174
  professional_type: string;
3095
- category: {
3096
- id: number;
3097
- name: string;
3098
- icon_name: string;
3099
- }[];
3175
+ category: unknown[];
3100
3176
  };
3101
3177
  };
3102
3178
  };
@@ -3317,9 +3393,9 @@ export interface CustomTweetObject {
3317
3393
  aspect_ratio: number[];
3318
3394
  duration_millis: number;
3319
3395
  variants: {
3396
+ bitrate?: number;
3320
3397
  content_type: string;
3321
3398
  url: string;
3322
- bitrate?: number;
3323
3399
  }[];
3324
3400
  };
3325
3401
  }[];
@@ -3352,130 +3428,26 @@ export interface CustomTweetObject {
3352
3428
  expanded_url: string;
3353
3429
  url: string;
3354
3430
  indices: number[];
3355
- }[];
3356
- hashtags: unknown[];
3357
- symbols: unknown[];
3358
- };
3359
- richtext: {
3360
- richtext_tags: {
3361
- from_index: number;
3362
- to_index: number;
3363
- richtext_types: string[];
3364
- }[];
3365
- };
3366
- media: {
3367
- inline_media: {
3368
- media_id: string;
3369
- index: number;
3370
- }[];
3371
- };
3372
- };
3373
- };
3374
- };
3375
- card?: {
3376
- rest_id: string;
3377
- legacy: {
3378
- binding_values: {
3379
- key: string;
3380
- value: {
3381
- image_value?: {
3382
- height: number;
3383
- width: number;
3384
- url: string;
3385
- };
3386
- type: string;
3387
- image_color_value?: {
3388
- palette: {
3389
- rgb: {
3390
- blue: number;
3391
- green: number;
3392
- red: number;
3393
- };
3394
- percentage: number;
3395
- }[];
3396
- };
3397
- scribe_key?: string;
3398
- user_value?: {
3399
- id_str: string;
3400
- path: unknown[];
3401
- };
3402
- string_value?: string;
3403
- };
3404
- }[];
3405
- card_platform: {
3406
- platform: {
3407
- audience: {
3408
- name: string;
3409
- };
3410
- device: {
3411
- name: string;
3412
- version: string;
3413
- };
3414
- };
3415
- };
3416
- name: string;
3417
- url: string;
3418
- user_refs_results: {
3419
- result: {
3420
- __typename: string;
3421
- id: string;
3422
- rest_id: string;
3423
- affiliates_highlighted_label: {};
3424
- has_graduated_access: boolean;
3425
- is_blue_verified: boolean;
3426
- profile_image_shape: string;
3427
- legacy: {
3428
- can_dm: boolean;
3429
- can_media_tag: boolean;
3430
- created_at: string;
3431
- default_profile: boolean;
3432
- default_profile_image: boolean;
3433
- description: string;
3434
- entities: {
3435
- description: {
3436
- urls: unknown[];
3437
- };
3438
- url: {
3439
- urls: {
3440
- display_url: string;
3441
- expanded_url: string;
3442
- url: string;
3443
- indices: number[];
3444
- }[];
3445
- };
3446
- };
3447
- fast_followers_count: number;
3448
- favourites_count: number;
3449
- followers_count: number;
3450
- friends_count: number;
3451
- has_custom_timelines: boolean;
3452
- is_translator: boolean;
3453
- listed_count: number;
3454
- location: string;
3455
- media_count: number;
3456
- name: string;
3457
- normal_followers_count: number;
3458
- pinned_tweet_ids_str: unknown[];
3459
- possibly_sensitive: boolean;
3460
- profile_banner_url: string;
3461
- profile_image_url_https: string;
3462
- profile_interstitial_type: string;
3463
- screen_name: string;
3464
- statuses_count: number;
3465
- translator_type: string;
3466
- url: string;
3467
- verified: boolean;
3468
- verified_type: string;
3469
- want_retweets: boolean;
3470
- withheld_in_countries: unknown[];
3471
- };
3431
+ }[];
3432
+ hashtags: unknown[];
3433
+ symbols: unknown[];
3472
3434
  };
3473
- }[];
3435
+ richtext: {
3436
+ richtext_tags: {
3437
+ from_index: number;
3438
+ to_index: number;
3439
+ richtext_types: string[];
3440
+ }[];
3441
+ };
3442
+ media: {
3443
+ inline_media: {
3444
+ media_id: string;
3445
+ index: number;
3446
+ }[];
3447
+ };
3448
+ };
3474
3449
  };
3475
3450
  };
3476
- unified_card?: {
3477
- card_fetch_state: string;
3478
- };
3479
3451
  };
3480
3452
  limitedActionResults: {
3481
3453
  limited_actions: {
@@ -3496,8 +3468,6 @@ export interface CustomTweetObject {
3496
3468
  };
3497
3469
  };
3498
3470
  };
3499
- possibly_sensitive?: boolean;
3500
- possibly_sensitive_editable?: boolean;
3501
3471
  extended_entities?: {
3502
3472
  media: {
3503
3473
  display_url: string;
@@ -3588,110 +3558,6 @@ export interface CustomTweetObject {
3588
3558
  }[];
3589
3559
  };
3590
3560
  };
3591
- card?: {
3592
- rest_id: string;
3593
- legacy: {
3594
- binding_values: {
3595
- key: string;
3596
- value: {
3597
- image_value?: {
3598
- height: number;
3599
- width: number;
3600
- url: string;
3601
- };
3602
- type: string;
3603
- image_color_value?: {
3604
- palette: {
3605
- rgb: {
3606
- blue: number;
3607
- green: number;
3608
- red: number;
3609
- };
3610
- percentage: number;
3611
- }[];
3612
- };
3613
- scribe_key?: string;
3614
- user_value?: {
3615
- id_str: string;
3616
- path: unknown[];
3617
- };
3618
- string_value?: string;
3619
- };
3620
- }[];
3621
- card_platform: {
3622
- platform: {
3623
- audience: {
3624
- name: string;
3625
- };
3626
- device: {
3627
- name: string;
3628
- version: string;
3629
- };
3630
- };
3631
- };
3632
- name: string;
3633
- url: string;
3634
- user_refs_results: {
3635
- result: {
3636
- __typename: string;
3637
- id: string;
3638
- rest_id: string;
3639
- affiliates_highlighted_label: {};
3640
- has_graduated_access: boolean;
3641
- is_blue_verified: boolean;
3642
- profile_image_shape: string;
3643
- legacy: {
3644
- can_dm: boolean;
3645
- can_media_tag: boolean;
3646
- created_at: string;
3647
- default_profile: boolean;
3648
- default_profile_image: boolean;
3649
- description: string;
3650
- entities: {
3651
- description: {
3652
- urls: unknown[];
3653
- };
3654
- url: {
3655
- urls: {
3656
- display_url: string;
3657
- expanded_url: string;
3658
- url: string;
3659
- indices: number[];
3660
- }[];
3661
- };
3662
- };
3663
- fast_followers_count: number;
3664
- favourites_count: number;
3665
- followers_count: number;
3666
- friends_count: number;
3667
- has_custom_timelines: boolean;
3668
- is_translator: boolean;
3669
- listed_count: number;
3670
- location: string;
3671
- media_count: number;
3672
- name: string;
3673
- normal_followers_count: number;
3674
- pinned_tweet_ids_str: unknown[];
3675
- possibly_sensitive: boolean;
3676
- profile_banner_url: string;
3677
- profile_image_url_https: string;
3678
- profile_interstitial_type: string;
3679
- screen_name: string;
3680
- statuses_count: number;
3681
- translator_type: string;
3682
- url: string;
3683
- verified: boolean;
3684
- verified_type: string;
3685
- want_retweets: boolean;
3686
- withheld_in_countries: unknown[];
3687
- };
3688
- };
3689
- }[];
3690
- };
3691
- };
3692
- unified_card?: {
3693
- card_fetch_state: string;
3694
- };
3695
3561
  quick_promote_eligibility?: {
3696
3562
  eligibility: string;
3697
3563
  };
@@ -3713,166 +3579,11 @@ export interface CustomTweetObject {
3713
3579
  };
3714
3580
  }[];
3715
3581
  };
3716
- card?: {
3717
- rest_id: string;
3718
- legacy: {
3719
- binding_values: {
3720
- key: string;
3721
- value: {
3722
- string_value?: string;
3723
- type: string;
3724
- scribe_key?: string;
3725
- user_value?: {
3726
- id_str: string;
3727
- path: unknown[];
3728
- };
3729
- image_value?: {
3730
- height: number;
3731
- width: number;
3732
- url: string;
3733
- alt?: string;
3734
- };
3735
- image_color_value?: {
3736
- palette: {
3737
- rgb: {
3738
- blue: number;
3739
- green: number;
3740
- red: number;
3741
- };
3742
- percentage: number;
3743
- }[];
3744
- };
3745
- boolean_value?: boolean;
3746
- };
3747
- }[];
3748
- card_platform: {
3749
- platform: {
3750
- audience: {
3751
- name: string;
3752
- };
3753
- device: {
3754
- name: string;
3755
- version: string;
3756
- };
3757
- };
3758
- };
3759
- name: string;
3760
- url: string;
3761
- user_refs_results: {
3762
- result?: {
3763
- __typename: string;
3764
- id?: string;
3765
- rest_id?: string;
3766
- affiliates_highlighted_label?: {
3767
- label?: {
3768
- url: {
3769
- url: string;
3770
- urlType: string;
3771
- };
3772
- badge: {
3773
- url: string;
3774
- };
3775
- description: string;
3776
- userLabelType: string;
3777
- userLabelDisplayType: string;
3778
- };
3779
- };
3780
- has_graduated_access?: boolean;
3781
- is_blue_verified?: boolean;
3782
- profile_image_shape?: string;
3783
- legacy?: {
3784
- can_dm: boolean;
3785
- can_media_tag: boolean;
3786
- created_at: string;
3787
- default_profile: boolean;
3788
- default_profile_image: boolean;
3789
- description: string;
3790
- entities: {
3791
- description: {
3792
- urls: {
3793
- display_url: string;
3794
- expanded_url: string;
3795
- url: string;
3796
- indices: number[];
3797
- }[];
3798
- };
3799
- url?: {
3800
- urls: {
3801
- display_url?: string;
3802
- expanded_url?: string;
3803
- url: string;
3804
- indices: number[];
3805
- }[];
3806
- };
3807
- };
3808
- fast_followers_count: number;
3809
- favourites_count: number;
3810
- followers_count: number;
3811
- friends_count: number;
3812
- has_custom_timelines: boolean;
3813
- is_translator: boolean;
3814
- listed_count: number;
3815
- location: string;
3816
- media_count: number;
3817
- name: string;
3818
- normal_followers_count: number;
3819
- pinned_tweet_ids_str: string[];
3820
- possibly_sensitive: boolean;
3821
- profile_banner_url?: string;
3822
- profile_image_url_https: string;
3823
- profile_interstitial_type: string;
3824
- screen_name: string;
3825
- statuses_count: number;
3826
- translator_type: string;
3827
- url?: string;
3828
- verified: boolean;
3829
- want_retweets: boolean;
3830
- withheld_in_countries: unknown[];
3831
- verified_type?: string;
3832
- protected?: boolean;
3833
- followed_by?: boolean;
3834
- following?: boolean;
3835
- blocking?: boolean;
3836
- };
3837
- professional?: {
3838
- rest_id: string;
3839
- professional_type: string;
3840
- category: {
3841
- id: number;
3842
- name: string;
3843
- icon_name: string;
3844
- }[];
3845
- };
3846
- unavailable_message?: {
3847
- rtl: boolean;
3848
- text: string;
3849
- entities: {
3850
- fromIndex: number;
3851
- toIndex: number;
3852
- ref: {
3853
- type: string;
3854
- url: string;
3855
- urlType: string;
3856
- };
3857
- }[];
3858
- };
3859
- reason?: string;
3860
- };
3861
- }[];
3862
- };
3863
- };
3864
- unified_card?: {
3865
- card_fetch_state: string;
3866
- };
3867
- previous_counts?: {
3868
- bookmark_count: number;
3869
- favorite_count: number;
3870
- quote_count: number;
3871
- reply_count: number;
3872
- retweet_count: number;
3582
+ quick_promote_eligibility?: {
3583
+ eligibility: string;
3873
3584
  };
3874
3585
  note_tweet?: {
3875
- is_expandable: boolean;
3586
+ is_expandable?: boolean;
3876
3587
  note_tweet_results: {
3877
3588
  result: {
3878
3589
  id: string;
@@ -3904,8 +3615,6 @@ export interface CustomTweetObject {
3904
3615
  };
3905
3616
  };
3906
3617
  };
3907
- quick_promote_eligibility?: {
3908
- eligibility: string;
3909
- };
3618
+ voiceInfo?: {};
3910
3619
  }
3911
3620
  //# sourceMappingURL=custom-tweet-object.d.ts.map