@book000/twitterts 0.74.80 → 0.75.1

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 (83) hide show
  1. package/dist/converter.d.ts.map +1 -1
  2. package/dist/converter.js +5 -8
  3. package/dist/converter.js.map +1 -1
  4. package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
  5. package/dist/generate-types/custom-types-generator.js +5 -6
  6. package/dist/generate-types/custom-types-generator.js.map +1 -1
  7. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts +11282 -9733
  8. package/dist/models/responses/custom/custom-graph-qltimeline-success-response.d.ts.map +1 -1
  9. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +2472 -713
  10. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  11. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +9390 -8194
  12. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  13. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +2730 -985
  14. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  15. package/dist/models/responses/custom/custom-tweet-object.d.ts +10515 -7713
  16. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  17. package/dist/models/responses/custom/custom-user-legacy-object.d.ts +17 -10
  18. package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
  19. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +8710 -2798
  20. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  21. package/dist/models/responses/endpoints.d.ts +12 -6
  22. package/dist/models/responses/endpoints.d.ts.map +1 -1
  23. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +1201 -266
  24. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
  25. package/dist/models/responses/graphql/get/broadcast-query-success.d.ts +111 -141
  26. package/dist/models/responses/graphql/get/broadcast-query-success.d.ts.map +1 -1
  27. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts +29 -20
  28. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.d.ts.map +1 -1
  29. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.js +1 -1
  30. package/dist/models/responses/graphql/get/communities-fetch-one-query-success.js.map +1 -1
  31. package/dist/models/responses/graphql/get/data-saver-mode-error.d.ts +1 -1
  32. package/dist/models/responses/graphql/get/data-saver-mode-error.d.ts.map +1 -1
  33. package/dist/models/responses/graphql/get/data-saver-mode-success.d.ts +26 -0
  34. package/dist/models/responses/graphql/get/data-saver-mode-success.d.ts.map +1 -1
  35. package/dist/models/responses/graphql/get/home-latest-timeline-error.d.ts +1 -1
  36. package/dist/models/responses/graphql/get/home-latest-timeline-error.d.ts.map +1 -1
  37. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +5482 -677
  38. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  39. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +6868 -6098
  40. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  41. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.d.ts +8 -0
  42. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.d.ts.map +1 -0
  43. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.js +4 -0
  44. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-error.js.map +1 -0
  45. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts +25 -1
  46. package/dist/models/responses/graphql/get/is-eligible-for-analytics-upsell-query-success.d.ts.map +1 -1
  47. package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts +27 -1
  48. package/dist/models/responses/graphql/get/pinned-timelines-success.d.ts.map +1 -1
  49. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts +175 -4
  50. package/dist/models/responses/graphql/get/profile-spotlights-query-success.d.ts.map +1 -1
  51. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +2204 -418
  52. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  53. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +5898 -566
  54. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
  55. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts +976 -32
  56. package/dist/models/responses/graphql/get/tweet-result-by-rest-id-success.d.ts.map +1 -1
  57. package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts +27 -1
  58. package/dist/models/responses/graphql/get/use-fetch-profile-sections-can-view-expanded-profile-query-success.d.ts.map +1 -1
  59. package/dist/models/responses/graphql/get/user-by-rest-id-error.d.ts +1 -1
  60. package/dist/models/responses/graphql/get/user-by-rest-id-error.d.ts.map +1 -1
  61. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts +78 -49
  62. package/dist/models/responses/graphql/get/user-by-rest-id-success.d.ts.map +1 -1
  63. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +113 -20
  64. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  65. package/dist/models/responses/graphql/get/user-by-screen-name-success.js +1 -1
  66. package/dist/models/responses/graphql/get/user-by-screen-name-success.js.map +1 -1
  67. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +17923 -3837
  68. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  69. package/dist/models/responses/graphql/get/viewer-success.d.ts +63 -18
  70. package/dist/models/responses/graphql/get/viewer-success.d.ts.map +1 -1
  71. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +5316 -504
  72. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  73. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +7754 -7404
  74. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  75. package/dist/parser/user-tweets.js +1 -1
  76. package/dist/parser/user-tweets.js.map +1 -1
  77. package/dist/tsconfig.build.tsbuildinfo +1 -1
  78. package/dist/twitter.d.ts.map +1 -1
  79. package/dist/twitter.js +9 -3
  80. package/dist/twitter.js.map +1 -1
  81. package/dist/twitter.test.js +4 -2
  82. package/dist/twitter.test.js.map +1 -1
  83. package/package.json +2 -2
@@ -21,6 +21,7 @@ export interface CustomTweetLegacyObject {
21
21
  url: string;
22
22
  ext_media_availability: {
23
23
  status: string;
24
+ reason?: string;
24
25
  };
25
26
  features?: {
26
27
  large: {
@@ -97,11 +98,15 @@ export interface CustomTweetLegacyObject {
97
98
  }[];
98
99
  };
99
100
  allow_download_status?: {
100
- allow_download: boolean;
101
+ allow_download?: boolean;
101
102
  };
102
103
  media_results: {
103
104
  result?: {
104
105
  media_key?: string;
106
+ grok_image_annotation?: {
107
+ prompt: string;
108
+ upsampled_prompt: string;
109
+ };
105
110
  };
106
111
  };
107
112
  source_status_id_str?: string;
@@ -114,7 +119,7 @@ export interface CustomTweetLegacyObject {
114
119
  __typename: string;
115
120
  id: string;
116
121
  rest_id: string;
117
- affiliates_highlighted_label?: {
122
+ affiliates_highlighted_label: {
118
123
  label?: {
119
124
  url: {
120
125
  url: string;
@@ -128,14 +133,14 @@ export interface CustomTweetLegacyObject {
128
133
  userLabelDisplayType: string;
129
134
  };
130
135
  };
131
- has_graduated_access: boolean;
132
- parody_commentary_fan_label?: string;
136
+ has_graduated_access?: boolean;
137
+ parody_commentary_fan_label: string;
133
138
  is_blue_verified: boolean;
134
- profile_image_shape?: string;
139
+ profile_image_shape: string;
135
140
  legacy: {
136
- following: boolean;
137
- can_dm: boolean;
138
- can_media_tag: boolean;
141
+ following?: boolean;
142
+ can_dm?: boolean;
143
+ can_media_tag?: boolean;
139
144
  created_at: string;
140
145
  default_profile: boolean;
141
146
  default_profile_image: boolean;
@@ -177,15 +182,23 @@ export interface CustomTweetLegacyObject {
177
182
  statuses_count: number;
178
183
  translator_type: string;
179
184
  verified: boolean;
180
- want_retweets: boolean;
185
+ want_retweets?: boolean;
181
186
  withheld_in_countries: unknown[];
182
187
  profile_banner_url?: string;
183
188
  url?: string;
184
189
  verified_type?: string;
190
+ blocking?: boolean;
185
191
  };
186
- tipjar_settings?: {
192
+ tipjar_settings: {
187
193
  is_enabled?: boolean;
188
194
  bitcoin_handle?: string;
195
+ patreon_handle?: string;
196
+ cash_app_handle?: string;
197
+ ethereum_handle?: string;
198
+ venmo_handle?: string;
199
+ bandcamp_handle?: string;
200
+ gofundme_handle?: string;
201
+ pay_pal_handle?: string;
189
202
  };
190
203
  professional?: {
191
204
  rest_id: string;
@@ -196,13 +209,17 @@ export interface CustomTweetLegacyObject {
196
209
  icon_name: string;
197
210
  }[];
198
211
  };
212
+ super_follow_eligible?: boolean;
199
213
  };
200
214
  };
201
215
  };
202
216
  title?: string;
203
217
  description?: string;
204
218
  call_to_actions?: {
205
- visit_site: {
219
+ visit_site?: {
220
+ url: string;
221
+ };
222
+ watch_now?: {
206
223
  url: string;
207
224
  };
208
225
  };
@@ -223,7 +240,10 @@ export interface CustomTweetLegacyObject {
223
240
  other?: boolean;
224
241
  };
225
242
  }[];
226
- symbols: unknown[];
243
+ symbols: {
244
+ indices: number[];
245
+ text: string;
246
+ }[];
227
247
  timestamps: unknown[];
228
248
  urls: {
229
249
  display_url: string;
@@ -250,6 +270,7 @@ export interface CustomTweetLegacyObject {
250
270
  url: string;
251
271
  ext_media_availability: {
252
272
  status: string;
273
+ reason?: string;
253
274
  };
254
275
  features?: {
255
276
  large: {
@@ -326,11 +347,15 @@ export interface CustomTweetLegacyObject {
326
347
  }[];
327
348
  };
328
349
  allow_download_status?: {
329
- allow_download: boolean;
350
+ allow_download?: boolean;
330
351
  };
331
352
  media_results: {
332
353
  result?: {
333
354
  media_key?: string;
355
+ grok_image_annotation?: {
356
+ prompt: string;
357
+ upsampled_prompt: string;
358
+ };
334
359
  };
335
360
  };
336
361
  source_status_id_str?: string;
@@ -343,7 +368,7 @@ export interface CustomTweetLegacyObject {
343
368
  __typename: string;
344
369
  id: string;
345
370
  rest_id: string;
346
- affiliates_highlighted_label?: {
371
+ affiliates_highlighted_label: {
347
372
  label?: {
348
373
  url: {
349
374
  url: string;
@@ -357,14 +382,14 @@ export interface CustomTweetLegacyObject {
357
382
  userLabelDisplayType: string;
358
383
  };
359
384
  };
360
- has_graduated_access: boolean;
361
- parody_commentary_fan_label?: string;
385
+ has_graduated_access?: boolean;
386
+ parody_commentary_fan_label: string;
362
387
  is_blue_verified: boolean;
363
- profile_image_shape?: string;
388
+ profile_image_shape: string;
364
389
  legacy: {
365
- following: boolean;
366
- can_dm: boolean;
367
- can_media_tag: boolean;
390
+ following?: boolean;
391
+ can_dm?: boolean;
392
+ can_media_tag?: boolean;
368
393
  created_at: string;
369
394
  default_profile: boolean;
370
395
  default_profile_image: boolean;
@@ -406,15 +431,23 @@ export interface CustomTweetLegacyObject {
406
431
  statuses_count: number;
407
432
  translator_type: string;
408
433
  verified: boolean;
409
- want_retweets: boolean;
434
+ want_retweets?: boolean;
410
435
  withheld_in_countries: unknown[];
411
436
  profile_banner_url?: string;
412
437
  url?: string;
413
438
  verified_type?: string;
439
+ blocking?: boolean;
414
440
  };
415
- tipjar_settings?: {
441
+ tipjar_settings: {
416
442
  is_enabled?: boolean;
417
443
  bitcoin_handle?: string;
444
+ patreon_handle?: string;
445
+ cash_app_handle?: string;
446
+ ethereum_handle?: string;
447
+ venmo_handle?: string;
448
+ bandcamp_handle?: string;
449
+ gofundme_handle?: string;
450
+ pay_pal_handle?: string;
418
451
  };
419
452
  professional?: {
420
453
  rest_id: string;
@@ -425,13 +458,17 @@ export interface CustomTweetLegacyObject {
425
458
  icon_name: string;
426
459
  }[];
427
460
  };
461
+ super_follow_eligible?: boolean;
428
462
  };
429
463
  };
430
464
  };
431
465
  title?: string;
432
466
  description?: string;
433
467
  call_to_actions?: {
434
- visit_site: {
468
+ visit_site?: {
469
+ url: string;
470
+ };
471
+ watch_now?: {
435
472
  url: string;
436
473
  };
437
474
  };
@@ -491,6 +528,17 @@ export interface CustomTweetLegacyObject {
491
528
  place_type: string;
492
529
  url: string;
493
530
  };
531
+ conversation_control?: {
532
+ policy: string;
533
+ conversation_owner_results: {
534
+ result: {
535
+ __typename: string;
536
+ legacy: {
537
+ screen_name: string;
538
+ };
539
+ };
540
+ };
541
+ };
494
542
  retweeted_status_result?: {
495
543
  result: {
496
544
  __typename: string;
@@ -503,7 +551,7 @@ export interface CustomTweetLegacyObject {
503
551
  rest_id: string;
504
552
  affiliates_highlighted_label?: {
505
553
  label?: {
506
- url: {
554
+ url?: {
507
555
  url: string;
508
556
  urlType: string;
509
557
  };
@@ -512,17 +560,37 @@ export interface CustomTweetLegacyObject {
512
560
  };
513
561
  description: string;
514
562
  userLabelType: string;
515
- userLabelDisplayType: string;
563
+ userLabelDisplayType?: string;
564
+ longDescription?: {
565
+ text: string;
566
+ entities: {
567
+ fromIndex: number;
568
+ toIndex: number;
569
+ ref: {
570
+ type: string;
571
+ screen_name: string;
572
+ mention_results: {
573
+ result: {
574
+ __typename: string;
575
+ legacy: {
576
+ screen_name: string;
577
+ };
578
+ rest_id: string;
579
+ };
580
+ };
581
+ };
582
+ }[];
583
+ };
516
584
  };
517
585
  };
518
- has_graduated_access: boolean;
586
+ has_graduated_access?: boolean;
519
587
  parody_commentary_fan_label?: string;
520
588
  is_blue_verified: boolean;
521
589
  profile_image_shape?: string;
522
590
  legacy: {
523
- following: boolean;
524
- can_dm: boolean;
525
- can_media_tag: boolean;
591
+ following?: boolean;
592
+ can_dm?: boolean;
593
+ can_media_tag?: boolean;
526
594
  created_at: string;
527
595
  default_profile: boolean;
528
596
  default_profile_image: boolean;
@@ -538,8 +606,8 @@ export interface CustomTweetLegacyObject {
538
606
  };
539
607
  url?: {
540
608
  urls: {
541
- display_url: string;
542
- expanded_url: string;
609
+ display_url?: string;
610
+ expanded_url?: string;
543
611
  url: string;
544
612
  indices: number[];
545
613
  }[];
@@ -566,14 +634,22 @@ export interface CustomTweetLegacyObject {
566
634
  translator_type: string;
567
635
  url?: string;
568
636
  verified: boolean;
569
- want_retweets: boolean;
637
+ want_retweets?: boolean;
570
638
  withheld_in_countries: string[];
571
639
  verified_type?: string;
640
+ blocking?: boolean;
641
+ muting?: boolean;
572
642
  };
573
643
  tipjar_settings?: {
574
644
  is_enabled?: boolean;
575
- bitcoin_handle?: string;
576
645
  patreon_handle?: string;
646
+ bitcoin_handle?: string;
647
+ ethereum_handle?: string;
648
+ cash_app_handle?: string;
649
+ venmo_handle?: string;
650
+ bandcamp_handle?: string;
651
+ gofundme_handle?: string;
652
+ pay_pal_handle?: string;
577
653
  };
578
654
  professional?: {
579
655
  rest_id: string;
@@ -588,7 +664,13 @@ export interface CustomTweetLegacyObject {
588
664
  };
589
665
  };
590
666
  };
591
- unmention_data?: {};
667
+ unmention_data?: {
668
+ hydrate?: {
669
+ unmentioned_users_results: {
670
+ rest_id: string;
671
+ }[];
672
+ };
673
+ };
592
674
  edit_control?: {
593
675
  edit_tweet_ids?: string[];
594
676
  editable_until_msecs?: string;
@@ -630,6 +712,7 @@ export interface CustomTweetLegacyObject {
630
712
  url: string;
631
713
  ext_media_availability: {
632
714
  status: string;
715
+ reason?: string;
633
716
  };
634
717
  features?: {
635
718
  large: {
@@ -705,9 +788,16 @@ export interface CustomTweetLegacyObject {
705
788
  h: number;
706
789
  }[];
707
790
  };
791
+ allow_download_status?: {
792
+ allow_download: boolean;
793
+ };
708
794
  media_results: {
709
- result?: {
795
+ result: {
710
796
  media_key?: string;
797
+ grok_image_annotation?: {
798
+ prompt: string;
799
+ upsampled_prompt: string;
800
+ };
711
801
  };
712
802
  };
713
803
  additional_media_info?: {
@@ -715,7 +805,10 @@ export interface CustomTweetLegacyObject {
715
805
  title?: string;
716
806
  description?: string;
717
807
  call_to_actions?: {
718
- visit_site: {
808
+ visit_site?: {
809
+ url: string;
810
+ };
811
+ watch_now?: {
719
812
  url: string;
720
813
  };
721
814
  };
@@ -726,7 +819,20 @@ export interface CustomTweetLegacyObject {
726
819
  __typename: string;
727
820
  id: string;
728
821
  rest_id: string;
729
- affiliates_highlighted_label: {};
822
+ affiliates_highlighted_label: {
823
+ label?: {
824
+ url: {
825
+ url: string;
826
+ urlType: string;
827
+ };
828
+ badge: {
829
+ url: string;
830
+ };
831
+ description: string;
832
+ userLabelType: string;
833
+ userLabelDisplayType: string;
834
+ };
835
+ };
730
836
  has_graduated_access: boolean;
731
837
  parody_commentary_fan_label: string;
732
838
  is_blue_verified: boolean;
@@ -748,7 +854,7 @@ export interface CustomTweetLegacyObject {
748
854
  indices: number[];
749
855
  }[];
750
856
  };
751
- url: {
857
+ url?: {
752
858
  urls: {
753
859
  display_url: string;
754
860
  expanded_url: string;
@@ -770,19 +876,37 @@ export interface CustomTweetLegacyObject {
770
876
  normal_followers_count: number;
771
877
  pinned_tweet_ids_str: string[];
772
878
  possibly_sensitive: boolean;
773
- profile_banner_url: string;
879
+ profile_banner_url?: string;
774
880
  profile_image_url_https: string;
775
881
  profile_interstitial_type: string;
776
882
  screen_name: string;
777
883
  statuses_count: number;
778
884
  translator_type: string;
779
- url: string;
885
+ url?: string;
780
886
  verified: boolean;
781
887
  want_retweets: boolean;
782
888
  withheld_in_countries: unknown[];
783
889
  verified_type?: string;
890
+ blocking?: boolean;
784
891
  };
785
- tipjar_settings: {};
892
+ tipjar_settings: {
893
+ is_enabled?: boolean;
894
+ cash_app_handle?: string;
895
+ bitcoin_handle?: string;
896
+ ethereum_handle?: string;
897
+ venmo_handle?: string;
898
+ patreon_handle?: string;
899
+ };
900
+ professional?: {
901
+ rest_id: string;
902
+ professional_type: string;
903
+ category: {
904
+ id: number;
905
+ name: string;
906
+ icon_name: string;
907
+ }[];
908
+ };
909
+ super_follow_eligible?: boolean;
786
910
  };
787
911
  };
788
912
  };
@@ -796,9 +920,6 @@ export interface CustomTweetLegacyObject {
796
920
  bitrate?: number;
797
921
  }[];
798
922
  };
799
- allow_download_status?: {
800
- allow_download: boolean;
801
- };
802
923
  sensitive_media_warning?: {
803
924
  adult_content?: boolean;
804
925
  other?: boolean;
@@ -807,7 +928,10 @@ export interface CustomTweetLegacyObject {
807
928
  source_user_id_str?: string;
808
929
  ext_alt_text?: string;
809
930
  }[];
810
- symbols: unknown[];
931
+ symbols: {
932
+ indices: number[];
933
+ text: string;
934
+ }[];
811
935
  timestamps: unknown[];
812
936
  urls: {
813
937
  display_url: string;
@@ -834,6 +958,7 @@ export interface CustomTweetLegacyObject {
834
958
  url: string;
835
959
  ext_media_availability: {
836
960
  status: string;
961
+ reason?: string;
837
962
  };
838
963
  features?: {
839
964
  large: {
@@ -909,9 +1034,16 @@ export interface CustomTweetLegacyObject {
909
1034
  h: number;
910
1035
  }[];
911
1036
  };
1037
+ allow_download_status?: {
1038
+ allow_download: boolean;
1039
+ };
912
1040
  media_results: {
913
- result?: {
1041
+ result: {
914
1042
  media_key?: string;
1043
+ grok_image_annotation?: {
1044
+ prompt: string;
1045
+ upsampled_prompt: string;
1046
+ };
915
1047
  };
916
1048
  };
917
1049
  additional_media_info?: {
@@ -919,7 +1051,10 @@ export interface CustomTweetLegacyObject {
919
1051
  title?: string;
920
1052
  description?: string;
921
1053
  call_to_actions?: {
922
- visit_site: {
1054
+ visit_site?: {
1055
+ url: string;
1056
+ };
1057
+ watch_now?: {
923
1058
  url: string;
924
1059
  };
925
1060
  };
@@ -930,7 +1065,20 @@ export interface CustomTweetLegacyObject {
930
1065
  __typename: string;
931
1066
  id: string;
932
1067
  rest_id: string;
933
- affiliates_highlighted_label: {};
1068
+ affiliates_highlighted_label: {
1069
+ label?: {
1070
+ url: {
1071
+ url: string;
1072
+ urlType: string;
1073
+ };
1074
+ badge: {
1075
+ url: string;
1076
+ };
1077
+ description: string;
1078
+ userLabelType: string;
1079
+ userLabelDisplayType: string;
1080
+ };
1081
+ };
934
1082
  has_graduated_access: boolean;
935
1083
  parody_commentary_fan_label: string;
936
1084
  is_blue_verified: boolean;
@@ -952,7 +1100,7 @@ export interface CustomTweetLegacyObject {
952
1100
  indices: number[];
953
1101
  }[];
954
1102
  };
955
- url: {
1103
+ url?: {
956
1104
  urls: {
957
1105
  display_url: string;
958
1106
  expanded_url: string;
@@ -974,19 +1122,37 @@ export interface CustomTweetLegacyObject {
974
1122
  normal_followers_count: number;
975
1123
  pinned_tweet_ids_str: string[];
976
1124
  possibly_sensitive: boolean;
977
- profile_banner_url: string;
1125
+ profile_banner_url?: string;
978
1126
  profile_image_url_https: string;
979
1127
  profile_interstitial_type: string;
980
1128
  screen_name: string;
981
1129
  statuses_count: number;
982
1130
  translator_type: string;
983
- url: string;
1131
+ url?: string;
984
1132
  verified: boolean;
985
1133
  want_retweets: boolean;
986
1134
  withheld_in_countries: unknown[];
987
1135
  verified_type?: string;
1136
+ blocking?: boolean;
988
1137
  };
989
- tipjar_settings: {};
1138
+ tipjar_settings: {
1139
+ is_enabled?: boolean;
1140
+ cash_app_handle?: string;
1141
+ bitcoin_handle?: string;
1142
+ ethereum_handle?: string;
1143
+ venmo_handle?: string;
1144
+ patreon_handle?: string;
1145
+ };
1146
+ professional?: {
1147
+ rest_id: string;
1148
+ professional_type: string;
1149
+ category: {
1150
+ id: number;
1151
+ name: string;
1152
+ icon_name: string;
1153
+ }[];
1154
+ };
1155
+ super_follow_eligible?: boolean;
990
1156
  };
991
1157
  };
992
1158
  };
@@ -1000,9 +1166,6 @@ export interface CustomTweetLegacyObject {
1000
1166
  bitrate?: number;
1001
1167
  }[];
1002
1168
  };
1003
- allow_download_status?: {
1004
- allow_download: boolean;
1005
- };
1006
1169
  sensitive_media_warning?: {
1007
1170
  adult_content?: boolean;
1008
1171
  other?: boolean;
@@ -1025,6 +1188,12 @@ export interface CustomTweetLegacyObject {
1025
1188
  retweeted: boolean;
1026
1189
  user_id_str: string;
1027
1190
  id_str: string;
1191
+ quoted_status_id_str?: string;
1192
+ quoted_status_permalink?: {
1193
+ url: string;
1194
+ expanded: string;
1195
+ display: string;
1196
+ };
1028
1197
  conversation_control?: {
1029
1198
  policy: string;
1030
1199
  conversation_owner_results: {
@@ -1039,15 +1208,79 @@ export interface CustomTweetLegacyObject {
1039
1208
  in_reply_to_screen_name?: string;
1040
1209
  in_reply_to_status_id_str?: string;
1041
1210
  in_reply_to_user_id_str?: string;
1042
- quoted_status_id_str?: string;
1043
- quoted_status_permalink?: {
1044
- url: string;
1045
- expanded: string;
1046
- display: string;
1047
- };
1048
1211
  scopes?: {
1049
1212
  followers: boolean;
1050
1213
  };
1214
+ place?: {
1215
+ bounding_box: {
1216
+ coordinates: number[][][];
1217
+ type: string;
1218
+ };
1219
+ country: string;
1220
+ country_code: string;
1221
+ full_name: string;
1222
+ name: string;
1223
+ id: string;
1224
+ place_type: string;
1225
+ url: string;
1226
+ };
1227
+ coordinates?: {
1228
+ type: string;
1229
+ coordinates: number[];
1230
+ };
1231
+ geo?: {
1232
+ type: string;
1233
+ coordinates: number[];
1234
+ };
1235
+ };
1236
+ note_tweet?: {
1237
+ is_expandable: boolean;
1238
+ note_tweet_results: {
1239
+ result: {
1240
+ id: string;
1241
+ text: string;
1242
+ entity_set: {
1243
+ hashtags: {
1244
+ indices: number[];
1245
+ text: string;
1246
+ }[];
1247
+ symbols: {
1248
+ indices: number[];
1249
+ text: string;
1250
+ }[];
1251
+ timestamps?: {
1252
+ indices: number[];
1253
+ seconds: number;
1254
+ text: string;
1255
+ }[];
1256
+ urls: {
1257
+ display_url: string;
1258
+ expanded_url: string;
1259
+ url: string;
1260
+ indices: number[];
1261
+ }[];
1262
+ user_mentions: {
1263
+ id_str: string;
1264
+ name: string;
1265
+ screen_name: string;
1266
+ indices: number[];
1267
+ }[];
1268
+ };
1269
+ richtext?: {
1270
+ richtext_tags: {
1271
+ from_index: number;
1272
+ to_index: number;
1273
+ richtext_types: string[];
1274
+ }[];
1275
+ };
1276
+ media?: {
1277
+ inline_media: {
1278
+ media_id: string;
1279
+ index: number;
1280
+ }[];
1281
+ };
1282
+ };
1283
+ };
1051
1284
  };
1052
1285
  tweet?: {
1053
1286
  rest_id: string;
@@ -1057,7 +1290,40 @@ export interface CustomTweetLegacyObject {
1057
1290
  __typename: string;
1058
1291
  id: string;
1059
1292
  rest_id: string;
1060
- affiliates_highlighted_label?: {};
1293
+ affiliates_highlighted_label?: {
1294
+ label?: {
1295
+ url?: {
1296
+ url: string;
1297
+ urlType: string;
1298
+ };
1299
+ badge: {
1300
+ url: string;
1301
+ };
1302
+ description: string;
1303
+ userLabelType: string;
1304
+ userLabelDisplayType?: string;
1305
+ longDescription?: {
1306
+ text: string;
1307
+ entities: {
1308
+ fromIndex: number;
1309
+ toIndex: number;
1310
+ ref: {
1311
+ type: string;
1312
+ screen_name: string;
1313
+ mention_results: {
1314
+ result: {
1315
+ __typename: string;
1316
+ legacy: {
1317
+ screen_name: string;
1318
+ };
1319
+ rest_id: string;
1320
+ };
1321
+ };
1322
+ };
1323
+ }[];
1324
+ };
1325
+ };
1326
+ };
1061
1327
  has_graduated_access: boolean;
1062
1328
  parody_commentary_fan_label?: string;
1063
1329
  is_blue_verified: boolean;
@@ -1112,6 +1378,7 @@ export interface CustomTweetLegacyObject {
1112
1378
  want_retweets: boolean;
1113
1379
  withheld_in_countries: unknown[];
1114
1380
  blocked_by?: boolean;
1381
+ verified_type?: string;
1115
1382
  };
1116
1383
  tipjar_settings?: {
1117
1384
  is_enabled?: boolean;
@@ -1133,18 +1400,26 @@ export interface CustomTweetLegacyObject {
1133
1400
  icon_name: string;
1134
1401
  }[];
1135
1402
  };
1403
+ super_follow_eligible?: boolean;
1136
1404
  };
1137
1405
  };
1138
1406
  };
1139
1407
  unmention_data: {};
1140
1408
  edit_control: {
1141
- edit_tweet_ids: string[];
1142
- editable_until_msecs: string;
1143
- is_edit_eligible: boolean;
1144
- edits_remaining: string;
1409
+ edit_tweet_ids?: string[];
1410
+ editable_until_msecs?: string;
1411
+ is_edit_eligible?: boolean;
1412
+ edits_remaining?: string;
1413
+ initial_tweet_id?: string;
1414
+ edit_control_initial?: {
1415
+ edit_tweet_ids: string[];
1416
+ editable_until_msecs: string;
1417
+ is_edit_eligible: boolean;
1418
+ edits_remaining: string;
1419
+ };
1145
1420
  };
1146
1421
  is_translatable: boolean;
1147
- views: {
1422
+ views?: {
1148
1423
  count?: string;
1149
1424
  state: string;
1150
1425
  };
@@ -1171,9 +1446,26 @@ export interface CustomTweetLegacyObject {
1171
1446
  indices: number[];
1172
1447
  text: string;
1173
1448
  }[];
1174
- media?: {
1175
- display_url: string;
1176
- expanded_url: string;
1449
+ symbols: {
1450
+ indices: number[];
1451
+ text: string;
1452
+ }[];
1453
+ timestamps: unknown[];
1454
+ urls: {
1455
+ display_url: string;
1456
+ expanded_url: string;
1457
+ url: string;
1458
+ indices: number[];
1459
+ }[];
1460
+ user_mentions: {
1461
+ id_str: string;
1462
+ name: string;
1463
+ screen_name: string;
1464
+ indices: number[];
1465
+ }[];
1466
+ media?: {
1467
+ display_url: string;
1468
+ expanded_url: string;
1177
1469
  id_str: string;
1178
1470
  indices: number[];
1179
1471
  media_key: string;
@@ -1216,6 +1508,14 @@ export interface CustomTweetLegacyObject {
1216
1508
  w: number;
1217
1509
  }[];
1218
1510
  };
1511
+ all?: {
1512
+ tags: {
1513
+ user_id: string;
1514
+ name: string;
1515
+ screen_name: string;
1516
+ type: string;
1517
+ }[];
1518
+ };
1219
1519
  };
1220
1520
  sizes: {
1221
1521
  large: {
@@ -1260,22 +1560,35 @@ export interface CustomTweetLegacyObject {
1260
1560
  video_info?: {
1261
1561
  aspect_ratio: number[];
1262
1562
  variants: {
1263
- bitrate: number;
1563
+ bitrate?: number;
1264
1564
  content_type: string;
1265
1565
  url: string;
1266
1566
  }[];
1567
+ duration_millis?: number;
1267
1568
  };
1569
+ additional_media_info?: {
1570
+ monetizable: boolean;
1571
+ };
1572
+ sensitive_media_warning?: {
1573
+ adult_content: boolean;
1574
+ other?: boolean;
1575
+ };
1576
+ ext_alt_text?: string;
1577
+ source_status_id_str?: string;
1578
+ source_user_id_str?: string;
1268
1579
  }[];
1269
- symbols: unknown[];
1270
- timestamps: unknown[];
1271
- urls: {
1272
- display_url: string;
1273
- expanded_url: string;
1274
- url: string;
1275
- indices: number[];
1276
- }[];
1277
- user_mentions: unknown[];
1278
1580
  };
1581
+ favorite_count: number;
1582
+ favorited: boolean;
1583
+ full_text: string;
1584
+ is_quote_status: boolean;
1585
+ lang: string;
1586
+ quote_count: number;
1587
+ reply_count: number;
1588
+ retweet_count: number;
1589
+ retweeted: boolean;
1590
+ user_id_str: string;
1591
+ id_str: string;
1279
1592
  extended_entities?: {
1280
1593
  media: {
1281
1594
  display_url: string;
@@ -1322,6 +1635,14 @@ export interface CustomTweetLegacyObject {
1322
1635
  w: number;
1323
1636
  }[];
1324
1637
  };
1638
+ all?: {
1639
+ tags: {
1640
+ user_id: string;
1641
+ name: string;
1642
+ screen_name: string;
1643
+ type: string;
1644
+ }[];
1645
+ };
1325
1646
  };
1326
1647
  sizes: {
1327
1648
  large: {
@@ -1366,32 +1687,93 @@ export interface CustomTweetLegacyObject {
1366
1687
  video_info?: {
1367
1688
  aspect_ratio: number[];
1368
1689
  variants: {
1369
- bitrate: number;
1690
+ bitrate?: number;
1370
1691
  content_type: string;
1371
1692
  url: string;
1372
1693
  }[];
1694
+ duration_millis?: number;
1373
1695
  };
1696
+ additional_media_info?: {
1697
+ monetizable: boolean;
1698
+ };
1699
+ sensitive_media_warning?: {
1700
+ adult_content: boolean;
1701
+ other?: boolean;
1702
+ };
1703
+ ext_alt_text?: string;
1704
+ source_status_id_str?: string;
1705
+ source_user_id_str?: string;
1374
1706
  }[];
1375
1707
  };
1376
- favorite_count: number;
1377
- favorited: boolean;
1378
- full_text: string;
1379
- is_quote_status: boolean;
1380
- lang: string;
1381
1708
  possibly_sensitive?: boolean;
1382
1709
  possibly_sensitive_editable?: boolean;
1383
- quote_count: number;
1384
- reply_count: number;
1385
- retweet_count: number;
1386
- retweeted: boolean;
1387
- user_id_str: string;
1388
- id_str: string;
1389
1710
  quoted_status_id_str?: string;
1390
1711
  quoted_status_permalink?: {
1391
1712
  url: string;
1392
1713
  expanded: string;
1393
1714
  display: string;
1394
1715
  };
1716
+ in_reply_to_screen_name?: string;
1717
+ in_reply_to_status_id_str?: string;
1718
+ in_reply_to_user_id_str?: string;
1719
+ place?: {
1720
+ bounding_box: {
1721
+ coordinates: number[][][];
1722
+ type: string;
1723
+ };
1724
+ country: string;
1725
+ country_code: string;
1726
+ full_name: string;
1727
+ name: string;
1728
+ id: string;
1729
+ place_type: string;
1730
+ url: string;
1731
+ };
1732
+ scopes?: {
1733
+ followers: boolean;
1734
+ };
1735
+ };
1736
+ note_tweet?: {
1737
+ is_expandable: boolean;
1738
+ note_tweet_results: {
1739
+ result: {
1740
+ id: string;
1741
+ text: string;
1742
+ entity_set: {
1743
+ hashtags: {
1744
+ indices: number[];
1745
+ text: string;
1746
+ }[];
1747
+ symbols: {
1748
+ indices: number[];
1749
+ text: string;
1750
+ }[];
1751
+ urls: {
1752
+ display_url: string;
1753
+ expanded_url: string;
1754
+ url: string;
1755
+ indices: number[];
1756
+ }[];
1757
+ user_mentions: {
1758
+ id_str: string;
1759
+ name: string;
1760
+ screen_name: string;
1761
+ indices: number[];
1762
+ }[];
1763
+ timestamps?: unknown[];
1764
+ };
1765
+ richtext?: {
1766
+ richtext_tags: {
1767
+ from_index: number;
1768
+ to_index: number;
1769
+ richtext_types: string[];
1770
+ }[];
1771
+ };
1772
+ media?: {
1773
+ inline_media: unknown[];
1774
+ };
1775
+ };
1776
+ };
1395
1777
  };
1396
1778
  quoted_status_result?: {
1397
1779
  result: {
@@ -1447,19 +1829,16 @@ export interface CustomTweetLegacyObject {
1447
1829
  normal_followers_count: number;
1448
1830
  pinned_tweet_ids_str: string[];
1449
1831
  possibly_sensitive: boolean;
1450
- profile_banner_url: string;
1832
+ profile_banner_url?: string;
1451
1833
  profile_image_url_https: string;
1452
1834
  profile_interstitial_type: string;
1453
1835
  screen_name: string;
1454
1836
  statuses_count: number;
1455
1837
  translator_type: string;
1838
+ url?: string;
1456
1839
  verified: boolean;
1457
1840
  want_retweets: boolean;
1458
1841
  withheld_in_countries: unknown[];
1459
- url?: string;
1460
- };
1461
- tipjar_settings: {
1462
- is_enabled?: boolean;
1463
1842
  };
1464
1843
  professional?: {
1465
1844
  rest_id: string;
@@ -1470,6 +1849,9 @@ export interface CustomTweetLegacyObject {
1470
1849
  icon_name: string;
1471
1850
  }[];
1472
1851
  };
1852
+ tipjar_settings: {
1853
+ is_enabled?: boolean;
1854
+ };
1473
1855
  };
1474
1856
  };
1475
1857
  };
@@ -1493,11 +1875,108 @@ export interface CustomTweetLegacyObject {
1493
1875
  conversation_id_str: string;
1494
1876
  display_text_range: number[];
1495
1877
  entities: {
1496
- hashtags: unknown[];
1878
+ hashtags: {
1879
+ indices: number[];
1880
+ text: string;
1881
+ }[];
1497
1882
  symbols: unknown[];
1498
1883
  timestamps: unknown[];
1499
- urls: unknown[];
1500
- user_mentions: unknown[];
1884
+ urls: {
1885
+ display_url: string;
1886
+ expanded_url: string;
1887
+ url: string;
1888
+ indices: number[];
1889
+ }[];
1890
+ user_mentions: {
1891
+ id_str: string;
1892
+ name: string;
1893
+ screen_name: string;
1894
+ indices: number[];
1895
+ }[];
1896
+ media?: {
1897
+ display_url: string;
1898
+ expanded_url: string;
1899
+ id_str: string;
1900
+ indices: number[];
1901
+ media_key: string;
1902
+ media_url_https: string;
1903
+ type: string;
1904
+ url: string;
1905
+ ext_media_availability: {
1906
+ status: string;
1907
+ };
1908
+ features: {
1909
+ large: {
1910
+ faces: {
1911
+ x: number;
1912
+ y: number;
1913
+ h: number;
1914
+ w: number;
1915
+ }[];
1916
+ };
1917
+ medium: {
1918
+ faces: {
1919
+ x: number;
1920
+ y: number;
1921
+ h: number;
1922
+ w: number;
1923
+ }[];
1924
+ };
1925
+ small: {
1926
+ faces: {
1927
+ x: number;
1928
+ y: number;
1929
+ h: number;
1930
+ w: number;
1931
+ }[];
1932
+ };
1933
+ orig: {
1934
+ faces: {
1935
+ x: number;
1936
+ y: number;
1937
+ h: number;
1938
+ w: number;
1939
+ }[];
1940
+ };
1941
+ };
1942
+ sizes: {
1943
+ large: {
1944
+ h: number;
1945
+ w: number;
1946
+ resize: string;
1947
+ };
1948
+ medium: {
1949
+ h: number;
1950
+ w: number;
1951
+ resize: string;
1952
+ };
1953
+ small: {
1954
+ h: number;
1955
+ w: number;
1956
+ resize: string;
1957
+ };
1958
+ thumb: {
1959
+ h: number;
1960
+ w: number;
1961
+ resize: string;
1962
+ };
1963
+ };
1964
+ original_info: {
1965
+ height: number;
1966
+ width: number;
1967
+ focus_rects: {
1968
+ x: number;
1969
+ y: number;
1970
+ w: number;
1971
+ h: number;
1972
+ }[];
1973
+ };
1974
+ media_results: {
1975
+ result: {
1976
+ media_key: string;
1977
+ };
1978
+ };
1979
+ }[];
1501
1980
  };
1502
1981
  favorite_count: number;
1503
1982
  favorited: boolean;
@@ -1510,74 +1989,167 @@ export interface CustomTweetLegacyObject {
1510
1989
  retweeted: boolean;
1511
1990
  user_id_str: string;
1512
1991
  id_str: string;
1513
- };
1514
- grok_analysis_button?: boolean;
1515
- tweet?: {
1516
- rest_id: string;
1517
- core: {
1518
- user_results: {
1519
- result: {
1520
- __typename: string;
1521
- id: string;
1522
- rest_id: string;
1523
- affiliates_highlighted_label: {};
1524
- has_graduated_access: boolean;
1525
- parody_commentary_fan_label: string;
1526
- is_blue_verified: boolean;
1527
- profile_image_shape: string;
1528
- legacy: {
1529
- blocking: boolean;
1530
- following: boolean;
1531
- can_dm: boolean;
1532
- can_media_tag: boolean;
1533
- created_at: string;
1534
- default_profile: boolean;
1535
- default_profile_image: boolean;
1536
- description: string;
1537
- entities: {
1538
- description: {
1539
- urls: {
1540
- display_url: string;
1541
- expanded_url: string;
1542
- url: string;
1543
- indices: number[];
1544
- }[];
1545
- };
1546
- url: {
1547
- urls: {
1548
- display_url: string;
1549
- expanded_url: string;
1550
- url: string;
1551
- indices: number[];
1552
- }[];
1553
- };
1554
- };
1555
- fast_followers_count: number;
1556
- favourites_count: number;
1557
- followers_count: number;
1558
- friends_count: number;
1559
- has_custom_timelines: boolean;
1992
+ possibly_sensitive?: boolean;
1993
+ possibly_sensitive_editable?: boolean;
1994
+ extended_entities?: {
1995
+ media: {
1996
+ display_url: string;
1997
+ expanded_url: string;
1998
+ id_str: string;
1999
+ indices: number[];
2000
+ media_key: string;
2001
+ media_url_https: string;
2002
+ type: string;
2003
+ url: string;
2004
+ ext_media_availability: {
2005
+ status: string;
2006
+ };
2007
+ features: {
2008
+ large: {
2009
+ faces: {
2010
+ x: number;
2011
+ y: number;
2012
+ h: number;
2013
+ w: number;
2014
+ }[];
2015
+ };
2016
+ medium: {
2017
+ faces: {
2018
+ x: number;
2019
+ y: number;
2020
+ h: number;
2021
+ w: number;
2022
+ }[];
2023
+ };
2024
+ small: {
2025
+ faces: {
2026
+ x: number;
2027
+ y: number;
2028
+ h: number;
2029
+ w: number;
2030
+ }[];
2031
+ };
2032
+ orig: {
2033
+ faces: {
2034
+ x: number;
2035
+ y: number;
2036
+ h: number;
2037
+ w: number;
2038
+ }[];
2039
+ };
2040
+ };
2041
+ sizes: {
2042
+ large: {
2043
+ h: number;
2044
+ w: number;
2045
+ resize: string;
2046
+ };
2047
+ medium: {
2048
+ h: number;
2049
+ w: number;
2050
+ resize: string;
2051
+ };
2052
+ small: {
2053
+ h: number;
2054
+ w: number;
2055
+ resize: string;
2056
+ };
2057
+ thumb: {
2058
+ h: number;
2059
+ w: number;
2060
+ resize: string;
2061
+ };
2062
+ };
2063
+ original_info: {
2064
+ height: number;
2065
+ width: number;
2066
+ focus_rects: {
2067
+ x: number;
2068
+ y: number;
2069
+ w: number;
2070
+ h: number;
2071
+ }[];
2072
+ };
2073
+ media_results: {
2074
+ result: {
2075
+ media_key: string;
2076
+ };
2077
+ };
2078
+ }[];
2079
+ };
2080
+ quoted_status_id_str?: string;
2081
+ quoted_status_permalink?: {
2082
+ url: string;
2083
+ expanded: string;
2084
+ display: string;
2085
+ };
2086
+ };
2087
+ tweet?: {
2088
+ rest_id: string;
2089
+ core: {
2090
+ user_results: {
2091
+ result: {
2092
+ __typename: string;
2093
+ id: string;
2094
+ rest_id: string;
2095
+ affiliates_highlighted_label: {};
2096
+ has_graduated_access: boolean;
2097
+ parody_commentary_fan_label: string;
2098
+ is_blue_verified: boolean;
2099
+ profile_image_shape: string;
2100
+ legacy: {
2101
+ blocking?: boolean;
2102
+ following: boolean;
2103
+ can_dm: boolean;
2104
+ can_media_tag: boolean;
2105
+ created_at: string;
2106
+ default_profile: boolean;
2107
+ default_profile_image: boolean;
2108
+ description: string;
2109
+ entities: {
2110
+ description: {
2111
+ urls: {
2112
+ display_url: string;
2113
+ expanded_url: string;
2114
+ url: string;
2115
+ indices: number[];
2116
+ }[];
2117
+ };
2118
+ url?: {
2119
+ urls: {
2120
+ display_url: string;
2121
+ expanded_url: string;
2122
+ url: string;
2123
+ indices: number[];
2124
+ }[];
2125
+ };
2126
+ };
2127
+ fast_followers_count: number;
2128
+ favourites_count: number;
2129
+ followers_count: number;
2130
+ friends_count: number;
2131
+ has_custom_timelines: boolean;
1560
2132
  is_translator: boolean;
1561
2133
  listed_count: number;
1562
2134
  location: string;
1563
2135
  media_count: number;
1564
2136
  name: string;
1565
2137
  normal_followers_count: number;
1566
- pinned_tweet_ids_str: unknown[];
2138
+ pinned_tweet_ids_str: string[];
1567
2139
  possibly_sensitive: boolean;
1568
- profile_banner_url: string;
2140
+ profile_banner_url?: string;
1569
2141
  profile_image_url_https: string;
1570
2142
  profile_interstitial_type: string;
1571
2143
  screen_name: string;
1572
2144
  statuses_count: number;
1573
2145
  translator_type: string;
1574
- url: string;
2146
+ url?: string;
1575
2147
  verified: boolean;
1576
- verified_type: string;
2148
+ verified_type?: string;
1577
2149
  want_retweets: boolean;
1578
2150
  withheld_in_countries: unknown[];
1579
2151
  };
1580
- professional: {
2152
+ professional?: {
1581
2153
  rest_id: string;
1582
2154
  professional_type: string;
1583
2155
  category: {
@@ -1586,11 +2158,14 @@ export interface CustomTweetLegacyObject {
1586
2158
  icon_name: string;
1587
2159
  }[];
1588
2160
  };
1589
- tipjar_settings: {};
2161
+ tipjar_settings: {
2162
+ is_enabled?: boolean;
2163
+ };
2164
+ super_follow_eligible?: boolean;
1590
2165
  };
1591
2166
  };
1592
2167
  };
1593
- card: {
2168
+ card?: {
1594
2169
  rest_id: string;
1595
2170
  legacy: {
1596
2171
  binding_values: {
@@ -1729,7 +2304,10 @@ export interface CustomTweetLegacyObject {
1729
2304
  conversation_id_str: string;
1730
2305
  display_text_range: number[];
1731
2306
  entities: {
1732
- hashtags: unknown[];
2307
+ hashtags: {
2308
+ indices: number[];
2309
+ text: string;
2310
+ }[];
1733
2311
  symbols: unknown[];
1734
2312
  timestamps: unknown[];
1735
2313
  urls: {
@@ -1739,6 +2317,110 @@ export interface CustomTweetLegacyObject {
1739
2317
  indices: number[];
1740
2318
  }[];
1741
2319
  user_mentions: unknown[];
2320
+ media?: {
2321
+ display_url: string;
2322
+ expanded_url: string;
2323
+ id_str: string;
2324
+ indices: number[];
2325
+ media_key: string;
2326
+ media_url_https: string;
2327
+ type: string;
2328
+ url: string;
2329
+ additional_media_info?: {
2330
+ monetizable: boolean;
2331
+ };
2332
+ ext_media_availability: {
2333
+ status: string;
2334
+ };
2335
+ sizes: {
2336
+ large: {
2337
+ h: number;
2338
+ w: number;
2339
+ resize: string;
2340
+ };
2341
+ medium: {
2342
+ h: number;
2343
+ w: number;
2344
+ resize: string;
2345
+ };
2346
+ small: {
2347
+ h: number;
2348
+ w: number;
2349
+ resize: string;
2350
+ };
2351
+ thumb: {
2352
+ h: number;
2353
+ w: number;
2354
+ resize: string;
2355
+ };
2356
+ };
2357
+ original_info: {
2358
+ height: number;
2359
+ width: number;
2360
+ focus_rects: {
2361
+ x: number;
2362
+ y: number;
2363
+ w: number;
2364
+ h: number;
2365
+ }[];
2366
+ };
2367
+ video_info?: {
2368
+ aspect_ratio: number[];
2369
+ duration_millis: number;
2370
+ variants: {
2371
+ content_type: string;
2372
+ url: string;
2373
+ bitrate?: number;
2374
+ }[];
2375
+ };
2376
+ media_results: {
2377
+ result: {
2378
+ media_key: string;
2379
+ };
2380
+ };
2381
+ features?: {
2382
+ large: {
2383
+ faces: {
2384
+ x: number;
2385
+ y: number;
2386
+ h: number;
2387
+ w: number;
2388
+ }[];
2389
+ };
2390
+ medium: {
2391
+ faces: {
2392
+ x: number;
2393
+ y: number;
2394
+ h: number;
2395
+ w: number;
2396
+ }[];
2397
+ };
2398
+ small: {
2399
+ faces: {
2400
+ x: number;
2401
+ y: number;
2402
+ h: number;
2403
+ w: number;
2404
+ }[];
2405
+ };
2406
+ orig: {
2407
+ faces: {
2408
+ x: number;
2409
+ y: number;
2410
+ h: number;
2411
+ w: number;
2412
+ }[];
2413
+ };
2414
+ all?: {
2415
+ tags: {
2416
+ user_id: string;
2417
+ name: string;
2418
+ screen_name: string;
2419
+ type: string;
2420
+ }[];
2421
+ };
2422
+ };
2423
+ }[];
1742
2424
  };
1743
2425
  favorite_count: number;
1744
2426
  favorited: boolean;
@@ -1753,151 +2435,592 @@ export interface CustomTweetLegacyObject {
1753
2435
  retweeted: boolean;
1754
2436
  user_id_str: string;
1755
2437
  id_str: string;
2438
+ extended_entities?: {
2439
+ media: {
2440
+ display_url: string;
2441
+ expanded_url: string;
2442
+ id_str: string;
2443
+ indices: number[];
2444
+ media_key: string;
2445
+ media_url_https: string;
2446
+ type: string;
2447
+ url: string;
2448
+ additional_media_info?: {
2449
+ monetizable: boolean;
2450
+ };
2451
+ ext_media_availability: {
2452
+ status: string;
2453
+ };
2454
+ sizes: {
2455
+ large: {
2456
+ h: number;
2457
+ w: number;
2458
+ resize: string;
2459
+ };
2460
+ medium: {
2461
+ h: number;
2462
+ w: number;
2463
+ resize: string;
2464
+ };
2465
+ small: {
2466
+ h: number;
2467
+ w: number;
2468
+ resize: string;
2469
+ };
2470
+ thumb: {
2471
+ h: number;
2472
+ w: number;
2473
+ resize: string;
2474
+ };
2475
+ };
2476
+ original_info: {
2477
+ height: number;
2478
+ width: number;
2479
+ focus_rects: {
2480
+ x: number;
2481
+ y: number;
2482
+ w: number;
2483
+ h: number;
2484
+ }[];
2485
+ };
2486
+ video_info?: {
2487
+ aspect_ratio: number[];
2488
+ duration_millis: number;
2489
+ variants: {
2490
+ content_type: string;
2491
+ url: string;
2492
+ bitrate?: number;
2493
+ }[];
2494
+ };
2495
+ media_results: {
2496
+ result: {
2497
+ media_key: string;
2498
+ };
2499
+ };
2500
+ features?: {
2501
+ large: {
2502
+ faces: {
2503
+ x: number;
2504
+ y: number;
2505
+ h: number;
2506
+ w: number;
2507
+ }[];
2508
+ };
2509
+ medium: {
2510
+ faces: {
2511
+ x: number;
2512
+ y: number;
2513
+ h: number;
2514
+ w: number;
2515
+ }[];
2516
+ };
2517
+ small: {
2518
+ faces: {
2519
+ x: number;
2520
+ y: number;
2521
+ h: number;
2522
+ w: number;
2523
+ }[];
2524
+ };
2525
+ orig: {
2526
+ faces: {
2527
+ x: number;
2528
+ y: number;
2529
+ h: number;
2530
+ w: number;
2531
+ }[];
2532
+ };
2533
+ all?: {
2534
+ tags: {
2535
+ user_id: string;
2536
+ name: string;
2537
+ screen_name: string;
2538
+ type: string;
2539
+ }[];
2540
+ };
2541
+ };
2542
+ }[];
2543
+ };
2544
+ conversation_control?: {
2545
+ policy: string;
2546
+ conversation_owner_results: {
2547
+ result: {
2548
+ __typename: string;
2549
+ legacy: {
2550
+ screen_name: string;
2551
+ };
2552
+ };
2553
+ };
2554
+ };
2555
+ quoted_status_id_str?: string;
2556
+ quoted_status_permalink?: {
2557
+ url: string;
2558
+ expanded: string;
2559
+ display: string;
2560
+ };
1756
2561
  };
1757
- };
1758
- tweetInterstitial?: {
1759
- __typename: string;
1760
- displayType: string;
1761
- text: {
1762
- rtl: boolean;
1763
- text: string;
1764
- entities: unknown[];
1765
- };
1766
- revealText: {
1767
- rtl: boolean;
1768
- text: string;
1769
- entities: unknown[];
1770
- };
1771
- };
1772
- };
1773
- };
1774
- grok_analysis_button?: boolean;
1775
- note_tweet?: {
1776
- is_expandable: boolean;
1777
- note_tweet_results: {
1778
- result: {
1779
- id: string;
1780
- text: string;
1781
- entity_set: {
1782
- hashtags: {
1783
- indices: number[];
1784
- text: string;
1785
- }[];
1786
- symbols: unknown[];
1787
- urls: unknown[];
1788
- user_mentions: unknown[];
1789
- };
1790
- richtext: {
1791
- richtext_tags: unknown[];
1792
- };
1793
- media: {
1794
- inline_media: unknown[];
1795
- };
1796
- };
1797
- };
1798
- };
1799
- };
1800
- limitedActionResults?: {
1801
- limited_actions: {
1802
- action: string;
1803
- prompt: {
1804
- __typename: string;
1805
- cta_type?: string;
1806
- headline: {
1807
- text: string;
1808
- entities: unknown[];
1809
- };
1810
- subtext: {
1811
- text: string;
1812
- entities: unknown[];
1813
- };
1814
- };
1815
- }[];
1816
- };
1817
- card?: {
1818
- rest_id: string;
1819
- legacy: {
1820
- binding_values: {
1821
- key: string;
1822
- value: {
1823
- image_value?: {
1824
- height: number;
1825
- width: number;
1826
- url: string;
1827
- };
1828
- type: string;
1829
- string_value?: string;
1830
- scribe_key?: string;
1831
- user_value?: {
1832
- id_str: string;
1833
- path: unknown[];
1834
- };
1835
- image_color_value?: {
1836
- palette: {
1837
- rgb: {
1838
- blue: number;
1839
- green: number;
1840
- red: number;
2562
+ quotedRefResult?: {
2563
+ result: {
2564
+ __typename: string;
2565
+ tweet: {
2566
+ rest_id: string;
1841
2567
  };
1842
- percentage: number;
1843
- }[];
2568
+ };
1844
2569
  };
1845
2570
  };
1846
- }[];
1847
- card_platform: {
1848
- platform: {
1849
- audience: {
1850
- name: string;
2571
+ tweetInterstitial?: {
2572
+ __typename: string;
2573
+ displayType: string;
2574
+ text: {
2575
+ rtl: boolean;
2576
+ text: string;
2577
+ entities: unknown[];
1851
2578
  };
1852
- device: {
1853
- name: string;
1854
- version: string;
2579
+ revealText: {
2580
+ rtl: boolean;
2581
+ text: string;
2582
+ entities: unknown[];
1855
2583
  };
1856
2584
  };
1857
- };
1858
- name: string;
1859
- url: string;
1860
- user_refs_results: {
1861
- result: {
1862
- __typename: string;
1863
- id: string;
2585
+ card?: {
1864
2586
  rest_id: string;
1865
- affiliates_highlighted_label: {
1866
- label?: {
1867
- url: {
1868
- url: string;
1869
- urlType: string;
2587
+ legacy: {
2588
+ binding_values: {
2589
+ key: string;
2590
+ value: {
2591
+ string_value?: string;
2592
+ type: string;
2593
+ image_value?: {
2594
+ height: number;
2595
+ width: number;
2596
+ url: string;
2597
+ };
2598
+ scribe_key?: string;
2599
+ user_value?: {
2600
+ id_str: string;
2601
+ path: unknown[];
2602
+ };
2603
+ image_color_value?: {
2604
+ palette: {
2605
+ rgb: {
2606
+ blue: number;
2607
+ green: number;
2608
+ red: number;
2609
+ };
2610
+ percentage: number;
2611
+ }[];
2612
+ };
1870
2613
  };
1871
- badge: {
1872
- url: string;
2614
+ }[];
2615
+ card_platform: {
2616
+ platform: {
2617
+ audience: {
2618
+ name: string;
2619
+ };
2620
+ device: {
2621
+ name: string;
2622
+ version: string;
2623
+ };
1873
2624
  };
1874
- description: string;
1875
- userLabelType: string;
1876
- userLabelDisplayType: string;
1877
2625
  };
2626
+ name: string;
2627
+ url: string;
2628
+ user_refs_results: {
2629
+ result: {
2630
+ __typename: string;
2631
+ id: string;
2632
+ rest_id: string;
2633
+ affiliates_highlighted_label: {};
2634
+ has_graduated_access: boolean;
2635
+ parody_commentary_fan_label: string;
2636
+ is_blue_verified: boolean;
2637
+ profile_image_shape: string;
2638
+ legacy: {
2639
+ blocking: boolean;
2640
+ following: boolean;
2641
+ can_dm: boolean;
2642
+ can_media_tag: boolean;
2643
+ created_at: string;
2644
+ default_profile: boolean;
2645
+ default_profile_image: boolean;
2646
+ description: string;
2647
+ entities: {
2648
+ description: {
2649
+ urls: unknown[];
2650
+ };
2651
+ url: {
2652
+ urls: {
2653
+ display_url: string;
2654
+ expanded_url: string;
2655
+ url: string;
2656
+ indices: number[];
2657
+ }[];
2658
+ };
2659
+ };
2660
+ fast_followers_count: number;
2661
+ favourites_count: number;
2662
+ followers_count: number;
2663
+ friends_count: number;
2664
+ has_custom_timelines: boolean;
2665
+ is_translator: boolean;
2666
+ listed_count: number;
2667
+ location: string;
2668
+ media_count: number;
2669
+ name: string;
2670
+ normal_followers_count: number;
2671
+ pinned_tweet_ids_str: string[];
2672
+ possibly_sensitive: boolean;
2673
+ profile_banner_url: string;
2674
+ profile_image_url_https: string;
2675
+ profile_interstitial_type: string;
2676
+ screen_name: string;
2677
+ statuses_count: number;
2678
+ translator_type: string;
2679
+ url: string;
2680
+ verified: boolean;
2681
+ verified_type: string;
2682
+ want_retweets: boolean;
2683
+ withheld_in_countries: unknown[];
2684
+ };
2685
+ professional: {
2686
+ rest_id: string;
2687
+ professional_type: string;
2688
+ category: {
2689
+ id: number;
2690
+ name: string;
2691
+ icon_name: string;
2692
+ }[];
2693
+ };
2694
+ tipjar_settings: {};
2695
+ };
2696
+ }[];
1878
2697
  };
1879
- has_graduated_access: boolean;
1880
- parody_commentary_fan_label: string;
1881
- is_blue_verified: boolean;
1882
- profile_image_shape: string;
1883
- legacy: {
1884
- following: boolean;
1885
- can_dm: boolean;
1886
- can_media_tag: boolean;
1887
- created_at: string;
1888
- default_profile: boolean;
1889
- default_profile_image: boolean;
1890
- description: string;
1891
- entities: {
1892
- description: {
2698
+ };
2699
+ note_tweet?: {
2700
+ is_expandable: boolean;
2701
+ note_tweet_results: {
2702
+ result: {
2703
+ id: string;
2704
+ text: string;
2705
+ entity_set: {
2706
+ hashtags: {
2707
+ indices: number[];
2708
+ text: string;
2709
+ }[];
2710
+ symbols: unknown[];
1893
2711
  urls: {
1894
2712
  display_url: string;
1895
2713
  expanded_url: string;
1896
2714
  url: string;
1897
2715
  indices: number[];
1898
2716
  }[];
1899
- };
1900
- url: {
2717
+ user_mentions: {
2718
+ id_str: string;
2719
+ name: string;
2720
+ screen_name: string;
2721
+ indices: number[];
2722
+ }[];
2723
+ };
2724
+ richtext?: {
2725
+ richtext_tags: unknown[];
2726
+ };
2727
+ media?: {
2728
+ inline_media: unknown[];
2729
+ };
2730
+ };
2731
+ };
2732
+ };
2733
+ limitedActionResults?: {
2734
+ limited_actions: {
2735
+ action: string;
2736
+ prompt: {
2737
+ __typename: string;
2738
+ cta_type: string;
2739
+ headline: {
2740
+ text: string;
2741
+ entities: unknown[];
2742
+ };
2743
+ subtext: {
2744
+ text: string;
2745
+ entities: unknown[];
2746
+ };
2747
+ };
2748
+ }[];
2749
+ };
2750
+ quotedRefResult?: {
2751
+ result: {
2752
+ __typename: string;
2753
+ rest_id?: string;
2754
+ tweet?: {
2755
+ rest_id: string;
2756
+ };
2757
+ };
2758
+ };
2759
+ };
2760
+ };
2761
+ previous_counts?: {
2762
+ bookmark_count: number;
2763
+ favorite_count: number;
2764
+ quote_count: number;
2765
+ reply_count: number;
2766
+ retweet_count: number;
2767
+ };
2768
+ card?: {
2769
+ rest_id: string;
2770
+ legacy: {
2771
+ binding_values: {
2772
+ key: string;
2773
+ value: {
2774
+ image_value?: {
2775
+ height: number;
2776
+ width: number;
2777
+ url: string;
2778
+ };
2779
+ type: string;
2780
+ string_value?: string;
2781
+ scribe_key?: string;
2782
+ user_value?: {
2783
+ id_str: string;
2784
+ path: unknown[];
2785
+ };
2786
+ image_color_value?: {
2787
+ palette: {
2788
+ rgb: {
2789
+ blue: number;
2790
+ green: number;
2791
+ red: number;
2792
+ };
2793
+ percentage: number;
2794
+ }[];
2795
+ };
2796
+ };
2797
+ }[];
2798
+ card_platform: {
2799
+ platform: {
2800
+ audience: {
2801
+ name: string;
2802
+ };
2803
+ device: {
2804
+ name: string;
2805
+ version: string;
2806
+ };
2807
+ };
2808
+ };
2809
+ name: string;
2810
+ url: string;
2811
+ user_refs_results: {
2812
+ result: {
2813
+ __typename: string;
2814
+ id: string;
2815
+ rest_id: string;
2816
+ affiliates_highlighted_label: {};
2817
+ has_graduated_access: boolean;
2818
+ parody_commentary_fan_label: string;
2819
+ is_blue_verified: boolean;
2820
+ profile_image_shape: string;
2821
+ legacy: {
2822
+ blocking: boolean;
2823
+ following: boolean;
2824
+ can_dm: boolean;
2825
+ can_media_tag: boolean;
2826
+ created_at: string;
2827
+ default_profile: boolean;
2828
+ default_profile_image: boolean;
2829
+ description: string;
2830
+ entities: {
2831
+ description: {
2832
+ urls: unknown[];
2833
+ };
2834
+ url: {
2835
+ urls: {
2836
+ display_url: string;
2837
+ expanded_url: string;
2838
+ url: string;
2839
+ indices: number[];
2840
+ }[];
2841
+ };
2842
+ };
2843
+ fast_followers_count: number;
2844
+ favourites_count: number;
2845
+ followers_count: number;
2846
+ friends_count: number;
2847
+ has_custom_timelines: boolean;
2848
+ is_translator: boolean;
2849
+ listed_count: number;
2850
+ location: string;
2851
+ media_count: number;
2852
+ name: string;
2853
+ normal_followers_count: number;
2854
+ pinned_tweet_ids_str: string[];
2855
+ possibly_sensitive: boolean;
2856
+ profile_banner_url: string;
2857
+ profile_image_url_https: string;
2858
+ profile_interstitial_type: string;
2859
+ screen_name: string;
2860
+ statuses_count: number;
2861
+ translator_type: string;
2862
+ url: string;
2863
+ verified: boolean;
2864
+ want_retweets: boolean;
2865
+ withheld_in_countries: unknown[];
2866
+ };
2867
+ professional: {
2868
+ rest_id: string;
2869
+ professional_type: string;
2870
+ category: {
2871
+ id: number;
2872
+ name: string;
2873
+ icon_name: string;
2874
+ }[];
2875
+ };
2876
+ tipjar_settings: {};
2877
+ };
2878
+ }[];
2879
+ };
2880
+ };
2881
+ birdwatch_pivot?: {
2882
+ callToAction: {
2883
+ prompt: string;
2884
+ title: string;
2885
+ destinationUrl: string;
2886
+ };
2887
+ destinationUrl: string;
2888
+ footer: {
2889
+ text: string;
2890
+ entities: {
2891
+ fromIndex: number;
2892
+ toIndex: number;
2893
+ ref: {
2894
+ type: string;
2895
+ url: string;
2896
+ urlType: string;
2897
+ };
2898
+ }[];
2899
+ };
2900
+ note: {
2901
+ rest_id: string;
2902
+ };
2903
+ subtitle: {
2904
+ text: string;
2905
+ entities: {
2906
+ fromIndex: number;
2907
+ toIndex: number;
2908
+ ref: {
2909
+ type: string;
2910
+ url: string;
2911
+ urlType: string;
2912
+ };
2913
+ }[];
2914
+ };
2915
+ title: string;
2916
+ shorttitle: string;
2917
+ visualStyle: string;
2918
+ iconType: string;
2919
+ };
2920
+ };
2921
+ limitedActionResults?: {
2922
+ limited_actions: {
2923
+ action: string;
2924
+ prompt?: {
2925
+ __typename: string;
2926
+ cta_type?: string;
2927
+ headline: {
2928
+ text: string;
2929
+ entities: unknown[];
2930
+ };
2931
+ subtext: {
2932
+ text: string;
2933
+ entities: unknown[];
2934
+ };
2935
+ };
2936
+ }[];
2937
+ };
2938
+ card?: {
2939
+ rest_id: string;
2940
+ legacy: {
2941
+ binding_values: {
2942
+ key: string;
2943
+ value: {
2944
+ image_value?: {
2945
+ height: number;
2946
+ width: number;
2947
+ url: string;
2948
+ alt?: string;
2949
+ };
2950
+ type: string;
2951
+ string_value?: string;
2952
+ scribe_key?: string;
2953
+ user_value?: {
2954
+ id_str: string;
2955
+ path: unknown[];
2956
+ };
2957
+ image_color_value?: {
2958
+ palette: {
2959
+ rgb: {
2960
+ blue: number;
2961
+ green: number;
2962
+ red: number;
2963
+ };
2964
+ percentage: number;
2965
+ }[];
2966
+ };
2967
+ boolean_value?: boolean;
2968
+ };
2969
+ }[];
2970
+ card_platform: {
2971
+ platform: {
2972
+ audience: {
2973
+ name: string;
2974
+ };
2975
+ device: {
2976
+ name: string;
2977
+ version: string;
2978
+ };
2979
+ };
2980
+ };
2981
+ name: string;
2982
+ url: string;
2983
+ user_refs_results: {
2984
+ result?: {
2985
+ __typename: string;
2986
+ id: string;
2987
+ rest_id: string;
2988
+ affiliates_highlighted_label: {
2989
+ label?: {
2990
+ url: {
2991
+ url: string;
2992
+ urlType: string;
2993
+ };
2994
+ badge: {
2995
+ url: string;
2996
+ };
2997
+ description: string;
2998
+ userLabelType: string;
2999
+ userLabelDisplayType: string;
3000
+ };
3001
+ };
3002
+ has_graduated_access: boolean;
3003
+ parody_commentary_fan_label: string;
3004
+ is_blue_verified: boolean;
3005
+ profile_image_shape: string;
3006
+ legacy: {
3007
+ following: boolean;
3008
+ can_dm: boolean;
3009
+ can_media_tag: boolean;
3010
+ created_at: string;
3011
+ default_profile: boolean;
3012
+ default_profile_image: boolean;
3013
+ description: string;
3014
+ entities: {
3015
+ description: {
3016
+ urls: {
3017
+ display_url: string;
3018
+ expanded_url: string;
3019
+ url: string;
3020
+ indices: number[];
3021
+ }[];
3022
+ };
3023
+ url?: {
1901
3024
  urls: {
1902
3025
  display_url: string;
1903
3026
  expanded_url: string;
@@ -1919,22 +3042,19 @@ export interface CustomTweetLegacyObject {
1919
3042
  normal_followers_count: number;
1920
3043
  pinned_tweet_ids_str: string[];
1921
3044
  possibly_sensitive: boolean;
1922
- profile_banner_url: string;
3045
+ profile_banner_url?: string;
1923
3046
  profile_image_url_https: string;
1924
3047
  profile_interstitial_type: string;
1925
3048
  screen_name: string;
1926
3049
  statuses_count: number;
1927
3050
  translator_type: string;
1928
- url: string;
3051
+ url?: string;
1929
3052
  verified: boolean;
1930
- verified_type?: string;
1931
3053
  want_retweets: boolean;
1932
3054
  withheld_in_countries: unknown[];
3055
+ verified_type?: string;
1933
3056
  blocking?: boolean;
1934
- };
1935
- tipjar_settings: {
1936
- is_enabled?: boolean;
1937
- bitcoin_handle?: string;
3057
+ muting?: boolean;
1938
3058
  };
1939
3059
  professional?: {
1940
3060
  rest_id: string;
@@ -1945,6 +3065,14 @@ export interface CustomTweetLegacyObject {
1945
3065
  icon_name: string;
1946
3066
  }[];
1947
3067
  };
3068
+ tipjar_settings: {
3069
+ is_enabled?: boolean;
3070
+ bitcoin_handle?: string;
3071
+ cash_app_handle?: string;
3072
+ patreon_handle?: string;
3073
+ venmo_handle?: string;
3074
+ };
3075
+ super_follow_eligible?: boolean;
1948
3076
  };
1949
3077
  }[];
1950
3078
  };
@@ -1952,11 +3080,547 @@ export interface CustomTweetLegacyObject {
1952
3080
  quoted_status_result?: {
1953
3081
  result?: {
1954
3082
  __typename: string;
1955
- tweet?: {
1956
- rest_id: string;
1957
- core: {
1958
- user_results: {
1959
- result: {
3083
+ rest_id?: string;
3084
+ core?: {
3085
+ user_results: {
3086
+ result?: {
3087
+ __typename: string;
3088
+ id: string;
3089
+ rest_id: string;
3090
+ affiliates_highlighted_label: {
3091
+ label?: {
3092
+ url: {
3093
+ url: string;
3094
+ urlType: string;
3095
+ };
3096
+ badge: {
3097
+ url: string;
3098
+ };
3099
+ description: string;
3100
+ userLabelType: string;
3101
+ userLabelDisplayType: string;
3102
+ };
3103
+ };
3104
+ has_graduated_access: boolean;
3105
+ parody_commentary_fan_label: string;
3106
+ is_blue_verified: boolean;
3107
+ profile_image_shape: string;
3108
+ legacy: {
3109
+ following: boolean;
3110
+ can_dm: boolean;
3111
+ can_media_tag: boolean;
3112
+ created_at: string;
3113
+ default_profile: boolean;
3114
+ default_profile_image: boolean;
3115
+ description: string;
3116
+ entities: {
3117
+ description: {
3118
+ urls: {
3119
+ display_url: string;
3120
+ expanded_url: string;
3121
+ url: string;
3122
+ indices: number[];
3123
+ }[];
3124
+ };
3125
+ url?: {
3126
+ urls: {
3127
+ display_url: string;
3128
+ expanded_url: string;
3129
+ url: string;
3130
+ indices: number[];
3131
+ }[];
3132
+ };
3133
+ };
3134
+ fast_followers_count: number;
3135
+ favourites_count: number;
3136
+ followers_count: number;
3137
+ friends_count: number;
3138
+ has_custom_timelines: boolean;
3139
+ is_translator: boolean;
3140
+ listed_count: number;
3141
+ location: string;
3142
+ media_count: number;
3143
+ name: string;
3144
+ normal_followers_count: number;
3145
+ pinned_tweet_ids_str: string[];
3146
+ possibly_sensitive: boolean;
3147
+ profile_banner_url?: string;
3148
+ profile_image_url_https: string;
3149
+ profile_interstitial_type: string;
3150
+ screen_name: string;
3151
+ statuses_count: number;
3152
+ translator_type: string;
3153
+ verified: boolean;
3154
+ want_retweets: boolean;
3155
+ withheld_in_countries: unknown[];
3156
+ url?: string;
3157
+ verified_type?: string;
3158
+ blocking?: boolean;
3159
+ };
3160
+ tipjar_settings: {
3161
+ is_enabled?: boolean;
3162
+ bitcoin_handle?: string;
3163
+ ethereum_handle?: string;
3164
+ patreon_handle?: string;
3165
+ venmo_handle?: string;
3166
+ cash_app_handle?: string;
3167
+ };
3168
+ professional?: {
3169
+ rest_id: string;
3170
+ professional_type: string;
3171
+ category: {
3172
+ id: number;
3173
+ name: string;
3174
+ icon_name: string;
3175
+ }[];
3176
+ };
3177
+ super_follow_eligible?: boolean;
3178
+ };
3179
+ };
3180
+ };
3181
+ unmention_data?: {};
3182
+ edit_control?: {
3183
+ edit_tweet_ids?: string[];
3184
+ editable_until_msecs?: string;
3185
+ is_edit_eligible?: boolean;
3186
+ edits_remaining?: string;
3187
+ initial_tweet_id?: string;
3188
+ edit_control_initial?: {
3189
+ edit_tweet_ids: string[];
3190
+ editable_until_msecs: string;
3191
+ is_edit_eligible: boolean;
3192
+ edits_remaining: string;
3193
+ };
3194
+ };
3195
+ is_translatable?: boolean;
3196
+ views?: {
3197
+ count?: string;
3198
+ state: string;
3199
+ };
3200
+ source?: string;
3201
+ legacy?: {
3202
+ bookmark_count: number;
3203
+ bookmarked: boolean;
3204
+ created_at: string;
3205
+ conversation_id_str: string;
3206
+ display_text_range: number[];
3207
+ entities: {
3208
+ hashtags: {
3209
+ indices: number[];
3210
+ text: string;
3211
+ }[];
3212
+ media?: {
3213
+ display_url: string;
3214
+ expanded_url: string;
3215
+ id_str: string;
3216
+ indices: number[];
3217
+ media_key: string;
3218
+ media_url_https: string;
3219
+ type: string;
3220
+ url: string;
3221
+ ext_media_availability: {
3222
+ status: string;
3223
+ };
3224
+ features?: {
3225
+ large: {
3226
+ faces: {
3227
+ x: number;
3228
+ y: number;
3229
+ h: number;
3230
+ w: number;
3231
+ }[];
3232
+ };
3233
+ medium: {
3234
+ faces: {
3235
+ x: number;
3236
+ y: number;
3237
+ h: number;
3238
+ w: number;
3239
+ }[];
3240
+ };
3241
+ small: {
3242
+ faces: {
3243
+ x: number;
3244
+ y: number;
3245
+ h: number;
3246
+ w: number;
3247
+ }[];
3248
+ };
3249
+ orig: {
3250
+ faces: {
3251
+ x: number;
3252
+ y: number;
3253
+ h: number;
3254
+ w: number;
3255
+ }[];
3256
+ };
3257
+ all?: {
3258
+ tags: {
3259
+ user_id: string;
3260
+ name: string;
3261
+ screen_name: string;
3262
+ type: string;
3263
+ }[];
3264
+ };
3265
+ };
3266
+ sizes: {
3267
+ large: {
3268
+ h: number;
3269
+ w: number;
3270
+ resize: string;
3271
+ };
3272
+ medium: {
3273
+ h: number;
3274
+ w: number;
3275
+ resize: string;
3276
+ };
3277
+ small: {
3278
+ h: number;
3279
+ w: number;
3280
+ resize: string;
3281
+ };
3282
+ thumb: {
3283
+ h: number;
3284
+ w: number;
3285
+ resize: string;
3286
+ };
3287
+ };
3288
+ original_info: {
3289
+ height: number;
3290
+ width: number;
3291
+ focus_rects: {
3292
+ x: number;
3293
+ y: number;
3294
+ w: number;
3295
+ h: number;
3296
+ }[];
3297
+ };
3298
+ allow_download_status?: {
3299
+ allow_download: boolean;
3300
+ };
3301
+ media_results: {
3302
+ result: {
3303
+ media_key: string;
3304
+ };
3305
+ };
3306
+ additional_media_info?: {
3307
+ monetizable: boolean;
3308
+ title?: string;
3309
+ description?: string;
3310
+ embeddable?: boolean;
3311
+ source_user?: {
3312
+ user_results: {
3313
+ result: {
3314
+ __typename: string;
3315
+ id: string;
3316
+ rest_id: string;
3317
+ affiliates_highlighted_label: {};
3318
+ has_graduated_access: boolean;
3319
+ parody_commentary_fan_label: string;
3320
+ is_blue_verified: boolean;
3321
+ profile_image_shape: string;
3322
+ legacy: {
3323
+ following: boolean;
3324
+ can_dm: boolean;
3325
+ can_media_tag: boolean;
3326
+ created_at: string;
3327
+ default_profile: boolean;
3328
+ default_profile_image: boolean;
3329
+ description: string;
3330
+ entities: {
3331
+ description: {
3332
+ urls: unknown[];
3333
+ };
3334
+ url: {
3335
+ urls: {
3336
+ display_url: string;
3337
+ expanded_url: string;
3338
+ url: string;
3339
+ indices: number[];
3340
+ }[];
3341
+ };
3342
+ };
3343
+ fast_followers_count: number;
3344
+ favourites_count: number;
3345
+ followers_count: number;
3346
+ friends_count: number;
3347
+ has_custom_timelines: boolean;
3348
+ is_translator: boolean;
3349
+ listed_count: number;
3350
+ location: string;
3351
+ media_count: number;
3352
+ name: string;
3353
+ normal_followers_count: number;
3354
+ pinned_tweet_ids_str: string[];
3355
+ possibly_sensitive: boolean;
3356
+ profile_banner_url: string;
3357
+ profile_image_url_https: string;
3358
+ profile_interstitial_type: string;
3359
+ screen_name: string;
3360
+ statuses_count: number;
3361
+ translator_type: string;
3362
+ url: string;
3363
+ verified: boolean;
3364
+ want_retweets: boolean;
3365
+ withheld_in_countries: unknown[];
3366
+ blocking?: boolean;
3367
+ };
3368
+ tipjar_settings: {};
3369
+ };
3370
+ };
3371
+ };
3372
+ };
3373
+ video_info?: {
3374
+ aspect_ratio: number[];
3375
+ duration_millis?: number;
3376
+ variants: {
3377
+ content_type: string;
3378
+ url: string;
3379
+ bitrate?: number;
3380
+ }[];
3381
+ };
3382
+ ext_alt_text?: string;
3383
+ source_status_id_str?: string;
3384
+ source_user_id_str?: string;
3385
+ }[];
3386
+ symbols: {
3387
+ indices: number[];
3388
+ text: string;
3389
+ }[];
3390
+ timestamps: unknown[];
3391
+ urls: {
3392
+ display_url: string;
3393
+ expanded_url: string;
3394
+ url: string;
3395
+ indices: number[];
3396
+ }[];
3397
+ user_mentions: {
3398
+ id_str: string;
3399
+ name: string;
3400
+ screen_name: string;
3401
+ indices: number[];
3402
+ }[];
3403
+ };
3404
+ extended_entities?: {
3405
+ media: {
3406
+ display_url: string;
3407
+ expanded_url: string;
3408
+ id_str: string;
3409
+ indices: number[];
3410
+ media_key: string;
3411
+ media_url_https: string;
3412
+ type: string;
3413
+ url: string;
3414
+ ext_media_availability: {
3415
+ status: string;
3416
+ };
3417
+ features?: {
3418
+ large: {
3419
+ faces: {
3420
+ x: number;
3421
+ y: number;
3422
+ h: number;
3423
+ w: number;
3424
+ }[];
3425
+ };
3426
+ medium: {
3427
+ faces: {
3428
+ x: number;
3429
+ y: number;
3430
+ h: number;
3431
+ w: number;
3432
+ }[];
3433
+ };
3434
+ small: {
3435
+ faces: {
3436
+ x: number;
3437
+ y: number;
3438
+ h: number;
3439
+ w: number;
3440
+ }[];
3441
+ };
3442
+ orig: {
3443
+ faces: {
3444
+ x: number;
3445
+ y: number;
3446
+ h: number;
3447
+ w: number;
3448
+ }[];
3449
+ };
3450
+ all?: {
3451
+ tags: {
3452
+ user_id: string;
3453
+ name: string;
3454
+ screen_name: string;
3455
+ type: string;
3456
+ }[];
3457
+ };
3458
+ };
3459
+ sizes: {
3460
+ large: {
3461
+ h: number;
3462
+ w: number;
3463
+ resize: string;
3464
+ };
3465
+ medium: {
3466
+ h: number;
3467
+ w: number;
3468
+ resize: string;
3469
+ };
3470
+ small: {
3471
+ h: number;
3472
+ w: number;
3473
+ resize: string;
3474
+ };
3475
+ thumb: {
3476
+ h: number;
3477
+ w: number;
3478
+ resize: string;
3479
+ };
3480
+ };
3481
+ original_info: {
3482
+ height: number;
3483
+ width: number;
3484
+ focus_rects: {
3485
+ x: number;
3486
+ y: number;
3487
+ w: number;
3488
+ h: number;
3489
+ }[];
3490
+ };
3491
+ allow_download_status?: {
3492
+ allow_download: boolean;
3493
+ };
3494
+ media_results: {
3495
+ result: {
3496
+ media_key: string;
3497
+ };
3498
+ };
3499
+ additional_media_info?: {
3500
+ monetizable: boolean;
3501
+ title?: string;
3502
+ description?: string;
3503
+ embeddable?: boolean;
3504
+ source_user?: {
3505
+ user_results: {
3506
+ result: {
3507
+ __typename: string;
3508
+ id: string;
3509
+ rest_id: string;
3510
+ affiliates_highlighted_label: {};
3511
+ has_graduated_access: boolean;
3512
+ parody_commentary_fan_label: string;
3513
+ is_blue_verified: boolean;
3514
+ profile_image_shape: string;
3515
+ legacy: {
3516
+ following: boolean;
3517
+ can_dm: boolean;
3518
+ can_media_tag: boolean;
3519
+ created_at: string;
3520
+ default_profile: boolean;
3521
+ default_profile_image: boolean;
3522
+ description: string;
3523
+ entities: {
3524
+ description: {
3525
+ urls: unknown[];
3526
+ };
3527
+ url: {
3528
+ urls: {
3529
+ display_url: string;
3530
+ expanded_url: string;
3531
+ url: string;
3532
+ indices: number[];
3533
+ }[];
3534
+ };
3535
+ };
3536
+ fast_followers_count: number;
3537
+ favourites_count: number;
3538
+ followers_count: number;
3539
+ friends_count: number;
3540
+ has_custom_timelines: boolean;
3541
+ is_translator: boolean;
3542
+ listed_count: number;
3543
+ location: string;
3544
+ media_count: number;
3545
+ name: string;
3546
+ normal_followers_count: number;
3547
+ pinned_tweet_ids_str: string[];
3548
+ possibly_sensitive: boolean;
3549
+ profile_banner_url: string;
3550
+ profile_image_url_https: string;
3551
+ profile_interstitial_type: string;
3552
+ screen_name: string;
3553
+ statuses_count: number;
3554
+ translator_type: string;
3555
+ url: string;
3556
+ verified: boolean;
3557
+ want_retweets: boolean;
3558
+ withheld_in_countries: unknown[];
3559
+ blocking?: boolean;
3560
+ };
3561
+ tipjar_settings: {};
3562
+ };
3563
+ };
3564
+ };
3565
+ };
3566
+ video_info?: {
3567
+ aspect_ratio: number[];
3568
+ duration_millis?: number;
3569
+ variants: {
3570
+ content_type: string;
3571
+ url: string;
3572
+ bitrate?: number;
3573
+ }[];
3574
+ };
3575
+ ext_alt_text?: string;
3576
+ source_status_id_str?: string;
3577
+ source_user_id_str?: string;
3578
+ }[];
3579
+ };
3580
+ favorite_count: number;
3581
+ favorited: boolean;
3582
+ full_text: string;
3583
+ is_quote_status: boolean;
3584
+ lang: string;
3585
+ possibly_sensitive?: boolean;
3586
+ possibly_sensitive_editable?: boolean;
3587
+ quote_count: number;
3588
+ reply_count: number;
3589
+ retweet_count: number;
3590
+ retweeted: boolean;
3591
+ user_id_str: string;
3592
+ id_str: string;
3593
+ quoted_status_id_str?: string;
3594
+ quoted_status_permalink?: {
3595
+ url: string;
3596
+ expanded: string;
3597
+ display: string;
3598
+ };
3599
+ in_reply_to_screen_name?: string;
3600
+ in_reply_to_status_id_str?: string;
3601
+ in_reply_to_user_id_str?: string;
3602
+ scopes?: {
3603
+ followers: boolean;
3604
+ };
3605
+ place?: {
3606
+ bounding_box: {
3607
+ coordinates: number[][][];
3608
+ type: string;
3609
+ };
3610
+ country: string;
3611
+ country_code: string;
3612
+ full_name: string;
3613
+ name: string;
3614
+ id: string;
3615
+ place_type: string;
3616
+ url: string;
3617
+ };
3618
+ };
3619
+ tweet?: {
3620
+ rest_id: string;
3621
+ core: {
3622
+ user_results: {
3623
+ result: {
1960
3624
  __typename: string;
1961
3625
  id: string;
1962
3626
  rest_id: string;
@@ -2034,6 +3698,8 @@ export interface CustomTweetLegacyObject {
2034
3698
  is_enabled?: boolean;
2035
3699
  patreon_handle?: string;
2036
3700
  bitcoin_handle?: string;
3701
+ ethereum_handle?: string;
3702
+ venmo_handle?: string;
2037
3703
  };
2038
3704
  professional?: {
2039
3705
  rest_id: string;
@@ -2063,7 +3729,7 @@ export interface CustomTweetLegacyObject {
2063
3729
  };
2064
3730
  is_translatable: boolean;
2065
3731
  views: {
2066
- count: string;
3732
+ count?: string;
2067
3733
  state: string;
2068
3734
  };
2069
3735
  source: string;
@@ -2090,142 +3756,24 @@ export interface CustomTweetLegacyObject {
2090
3756
  text: string;
2091
3757
  }[];
2092
3758
  symbols: unknown[];
2093
- timestamps: unknown[];
2094
- urls: {
2095
- display_url: string;
2096
- expanded_url: string;
2097
- url: string;
3759
+ timestamps: {
2098
3760
  indices: number[];
3761
+ seconds: number;
3762
+ text: string;
2099
3763
  }[];
2100
- user_mentions: unknown[];
2101
- media?: {
3764
+ urls: {
2102
3765
  display_url: string;
2103
- expanded_url: string;
2104
- id_str: string;
2105
- indices: number[];
2106
- media_key: string;
2107
- media_url_https: string;
2108
- type: string;
2109
- url: string;
2110
- ext_media_availability: {
2111
- status: string;
2112
- };
2113
- features?: {
2114
- large: {
2115
- faces: {
2116
- x: number;
2117
- y: number;
2118
- h: number;
2119
- w: number;
2120
- }[];
2121
- };
2122
- medium: {
2123
- faces: {
2124
- x: number;
2125
- y: number;
2126
- h: number;
2127
- w: number;
2128
- }[];
2129
- };
2130
- small: {
2131
- faces: {
2132
- x: number;
2133
- y: number;
2134
- h: number;
2135
- w: number;
2136
- }[];
2137
- };
2138
- orig: {
2139
- faces: {
2140
- x: number;
2141
- y: number;
2142
- h: number;
2143
- w: number;
2144
- }[];
2145
- };
2146
- all?: {
2147
- tags: {
2148
- user_id: string;
2149
- name: string;
2150
- screen_name: string;
2151
- type: string;
2152
- }[];
2153
- };
2154
- };
2155
- sizes: {
2156
- large: {
2157
- h: number;
2158
- w: number;
2159
- resize: string;
2160
- };
2161
- medium: {
2162
- h: number;
2163
- w: number;
2164
- resize: string;
2165
- };
2166
- small: {
2167
- h: number;
2168
- w: number;
2169
- resize: string;
2170
- };
2171
- thumb: {
2172
- h: number;
2173
- w: number;
2174
- resize: string;
2175
- };
2176
- };
2177
- original_info: {
2178
- height: number;
2179
- width: number;
2180
- focus_rects: {
2181
- x: number;
2182
- y: number;
2183
- w: number;
2184
- h: number;
2185
- }[];
2186
- };
2187
- allow_download_status?: {
2188
- allow_download: boolean;
2189
- };
2190
- media_results: {
2191
- result: {
2192
- media_key: string;
2193
- };
2194
- };
2195
- ext_alt_text?: string;
2196
- additional_media_info?: {
2197
- monetizable: boolean;
2198
- };
2199
- video_info?: {
2200
- aspect_ratio: number[];
2201
- duration_millis: number;
2202
- variants: {
2203
- content_type: string;
2204
- url: string;
2205
- bitrate?: number;
2206
- }[];
2207
- };
2208
- }[];
2209
- };
2210
- favorite_count: number;
2211
- favorited: boolean;
2212
- full_text: string;
2213
- is_quote_status: boolean;
2214
- lang: string;
2215
- quote_count: number;
2216
- reply_count: number;
2217
- retweet_count: number;
2218
- retweeted: boolean;
2219
- user_id_str: string;
2220
- id_str: string;
2221
- quoted_status_id_str?: string;
2222
- quoted_status_permalink?: {
2223
- url: string;
2224
- expanded: string;
2225
- display: string;
2226
- };
2227
- extended_entities?: {
2228
- media: {
3766
+ expanded_url: string;
3767
+ url: string;
3768
+ indices: number[];
3769
+ }[];
3770
+ user_mentions: {
3771
+ id_str: string;
3772
+ name: string;
3773
+ screen_name: string;
3774
+ indices: number[];
3775
+ }[];
3776
+ media?: {
2229
3777
  display_url: string;
2230
3778
  expanded_url: string;
2231
3779
  id_str: string;
@@ -2311,17 +3859,94 @@ export interface CustomTweetLegacyObject {
2311
3859
  h: number;
2312
3860
  }[];
2313
3861
  };
2314
- allow_download_status?: {
2315
- allow_download: boolean;
2316
- };
2317
3862
  media_results: {
2318
3863
  result: {
2319
3864
  media_key: string;
2320
3865
  };
2321
3866
  };
3867
+ allow_download_status?: {
3868
+ allow_download?: boolean;
3869
+ };
2322
3870
  ext_alt_text?: string;
2323
3871
  additional_media_info?: {
2324
3872
  monetizable: boolean;
3873
+ title?: string;
3874
+ description?: string;
3875
+ embeddable?: boolean;
3876
+ source_user?: {
3877
+ user_results: {
3878
+ result: {
3879
+ __typename: string;
3880
+ id: string;
3881
+ rest_id: string;
3882
+ affiliates_highlighted_label: {};
3883
+ has_graduated_access: boolean;
3884
+ parody_commentary_fan_label: string;
3885
+ is_blue_verified: boolean;
3886
+ profile_image_shape: string;
3887
+ legacy: {
3888
+ following: boolean;
3889
+ can_dm: boolean;
3890
+ can_media_tag: boolean;
3891
+ created_at: string;
3892
+ default_profile: boolean;
3893
+ default_profile_image: boolean;
3894
+ description: string;
3895
+ entities: {
3896
+ description: {
3897
+ urls: unknown[];
3898
+ };
3899
+ url: {
3900
+ urls: {
3901
+ display_url: string;
3902
+ expanded_url: string;
3903
+ url: string;
3904
+ indices: number[];
3905
+ }[];
3906
+ };
3907
+ };
3908
+ fast_followers_count: number;
3909
+ favourites_count: number;
3910
+ followers_count: number;
3911
+ friends_count: number;
3912
+ has_custom_timelines: boolean;
3913
+ is_translator: boolean;
3914
+ listed_count: number;
3915
+ location: string;
3916
+ media_count: number;
3917
+ name: string;
3918
+ normal_followers_count: number;
3919
+ pinned_tweet_ids_str: string[];
3920
+ possibly_sensitive: boolean;
3921
+ profile_banner_url: string;
3922
+ profile_image_url_https: string;
3923
+ profile_interstitial_type: string;
3924
+ screen_name: string;
3925
+ statuses_count: number;
3926
+ translator_type: string;
3927
+ url: string;
3928
+ verified: boolean;
3929
+ want_retweets: boolean;
3930
+ withheld_in_countries: unknown[];
3931
+ };
3932
+ professional?: {
3933
+ rest_id: string;
3934
+ professional_type: string;
3935
+ category: {
3936
+ id: number;
3937
+ name: string;
3938
+ icon_name: string;
3939
+ }[];
3940
+ };
3941
+ tipjar_settings: {};
3942
+ };
3943
+ };
3944
+ };
3945
+ call_to_actions?: {
3946
+ visit_site: {
3947
+ url: string;
3948
+ };
3949
+ };
2325
3950
  };
2326
3951
  video_info?: {
2327
3952
  aspect_ratio: number[];
@@ -2332,545 +3957,506 @@ export interface CustomTweetLegacyObject {
2332
3957
  bitrate?: number;
2333
3958
  }[];
2334
3959
  };
3960
+ source_status_id_str?: string;
3961
+ source_user_id_str?: string;
2335
3962
  }[];
2336
3963
  };
2337
- possibly_sensitive?: boolean;
2338
- possibly_sensitive_editable?: boolean;
2339
- in_reply_to_screen_name?: string;
2340
- in_reply_to_status_id_str?: string;
2341
- in_reply_to_user_id_str?: string;
2342
- };
2343
- grok_analysis_button?: boolean;
2344
- quotedRefResult?: {
2345
- result?: {
2346
- __typename: string;
2347
- rest_id: string;
2348
- };
2349
- };
2350
- note_tweet?: {
2351
- is_expandable: boolean;
2352
- note_tweet_results: {
2353
- result: {
2354
- id: string;
2355
- text: string;
2356
- entity_set: {
2357
- hashtags: unknown[];
2358
- symbols: unknown[];
2359
- timestamps: unknown[];
2360
- urls: {
2361
- display_url: string;
2362
- expanded_url: string;
2363
- url: string;
2364
- indices: number[];
2365
- }[];
2366
- user_mentions: unknown[];
2367
- };
2368
- };
2369
- };
2370
- };
2371
- card?: {
2372
- rest_id: string;
2373
- legacy: {
2374
- binding_values: {
2375
- key: string;
2376
- value: {
2377
- image_value?: {
2378
- height: number;
2379
- width: number;
2380
- url: string;
2381
- };
2382
- type: string;
2383
- string_value?: string;
2384
- scribe_key?: string;
2385
- user_value?: {
2386
- id_str: string;
2387
- path: unknown[];
2388
- };
2389
- image_color_value?: {
2390
- palette: {
2391
- rgb: {
2392
- blue: number;
2393
- green: number;
2394
- red: number;
2395
- };
2396
- percentage: number;
2397
- }[];
2398
- };
2399
- };
2400
- }[];
2401
- card_platform: {
2402
- platform: {
2403
- audience: {
2404
- name: string;
2405
- };
2406
- device: {
2407
- name: string;
2408
- version: string;
2409
- };
2410
- };
2411
- };
2412
- name: string;
2413
- url: string;
2414
- user_refs_results: {
2415
- result: {
2416
- __typename: string;
2417
- id: string;
2418
- rest_id: string;
2419
- affiliates_highlighted_label: {};
2420
- has_graduated_access: boolean;
2421
- parody_commentary_fan_label: string;
2422
- is_blue_verified: boolean;
2423
- profile_image_shape: string;
2424
- legacy: {
2425
- blocking: boolean;
2426
- following: boolean;
2427
- can_dm: boolean;
2428
- can_media_tag: boolean;
2429
- created_at: string;
2430
- default_profile: boolean;
2431
- default_profile_image: boolean;
2432
- description: string;
2433
- entities: {
2434
- description: {
2435
- urls: {
2436
- display_url: string;
2437
- expanded_url: string;
2438
- url: string;
2439
- indices: number[];
2440
- }[];
2441
- };
2442
- url: {
2443
- urls: {
2444
- display_url: string;
2445
- expanded_url: string;
2446
- url: string;
2447
- indices: number[];
2448
- }[];
2449
- };
2450
- };
2451
- fast_followers_count: number;
2452
- favourites_count: number;
2453
- followers_count: number;
2454
- friends_count: number;
2455
- has_custom_timelines: boolean;
2456
- is_translator: boolean;
2457
- listed_count: number;
2458
- location: string;
2459
- media_count: number;
2460
- name: string;
2461
- normal_followers_count: number;
2462
- pinned_tweet_ids_str: string[];
2463
- possibly_sensitive: boolean;
2464
- profile_banner_url: string;
2465
- profile_image_url_https: string;
2466
- profile_interstitial_type: string;
2467
- screen_name: string;
2468
- statuses_count: number;
2469
- translator_type: string;
2470
- url: string;
2471
- verified: boolean;
2472
- verified_type?: string;
2473
- want_retweets: boolean;
2474
- withheld_in_countries: unknown[];
2475
- };
2476
- tipjar_settings: {
2477
- is_enabled?: boolean;
2478
- bitcoin_handle?: string;
2479
- };
2480
- };
2481
- }[];
2482
- };
2483
- };
2484
- previous_counts?: {
2485
- bookmark_count: number;
2486
3964
  favorite_count: number;
3965
+ favorited: boolean;
3966
+ full_text: string;
3967
+ is_quote_status: boolean;
3968
+ lang: string;
2487
3969
  quote_count: number;
2488
3970
  reply_count: number;
2489
3971
  retweet_count: number;
2490
- };
2491
- };
2492
- limitedActionResults?: {
2493
- limited_actions: {
2494
- action: string;
2495
- prompt: {
2496
- __typename: string;
2497
- cta_type: string;
2498
- headline: {
2499
- text: string;
2500
- entities: unknown[];
2501
- };
2502
- subtext: {
2503
- text: string;
2504
- entities: unknown[];
2505
- };
2506
- };
2507
- }[];
2508
- };
2509
- rest_id?: string;
2510
- core?: {
2511
- user_results: {
2512
- result: {
2513
- __typename: string;
2514
- id: string;
2515
- rest_id: string;
2516
- affiliates_highlighted_label: {};
2517
- has_graduated_access: boolean;
2518
- parody_commentary_fan_label?: string;
2519
- is_blue_verified: boolean;
2520
- profile_image_shape: string;
2521
- legacy: {
2522
- following: boolean;
2523
- can_dm: boolean;
2524
- can_media_tag: boolean;
2525
- created_at: string;
2526
- default_profile: boolean;
2527
- default_profile_image: boolean;
2528
- description: string;
2529
- entities: {
2530
- description: {
2531
- urls: {
2532
- display_url: string;
2533
- expanded_url: string;
2534
- url: string;
2535
- indices: number[];
3972
+ retweeted: boolean;
3973
+ user_id_str: string;
3974
+ id_str: string;
3975
+ extended_entities?: {
3976
+ media: {
3977
+ display_url: string;
3978
+ expanded_url: string;
3979
+ id_str: string;
3980
+ indices: number[];
3981
+ media_key: string;
3982
+ media_url_https: string;
3983
+ type: string;
3984
+ url: string;
3985
+ ext_media_availability: {
3986
+ status: string;
3987
+ };
3988
+ features?: {
3989
+ large: {
3990
+ faces: {
3991
+ x: number;
3992
+ y: number;
3993
+ h: number;
3994
+ w: number;
3995
+ }[];
3996
+ };
3997
+ medium: {
3998
+ faces: {
3999
+ x: number;
4000
+ y: number;
4001
+ h: number;
4002
+ w: number;
4003
+ }[];
4004
+ };
4005
+ small: {
4006
+ faces: {
4007
+ x: number;
4008
+ y: number;
4009
+ h: number;
4010
+ w: number;
2536
4011
  }[];
2537
4012
  };
2538
- url?: {
2539
- urls: {
2540
- display_url: string;
2541
- expanded_url: string;
2542
- url: string;
2543
- indices: number[];
4013
+ orig: {
4014
+ faces: {
4015
+ x: number;
4016
+ y: number;
4017
+ h: number;
4018
+ w: number;
4019
+ }[];
4020
+ };
4021
+ all?: {
4022
+ tags: {
4023
+ user_id: string;
4024
+ name: string;
4025
+ screen_name: string;
4026
+ type: string;
2544
4027
  }[];
2545
4028
  };
2546
4029
  };
2547
- fast_followers_count: number;
2548
- favourites_count: number;
2549
- followers_count: number;
2550
- friends_count: number;
2551
- has_custom_timelines: boolean;
2552
- is_translator: boolean;
2553
- listed_count: number;
2554
- location: string;
2555
- media_count: number;
2556
- name: string;
2557
- normal_followers_count: number;
2558
- pinned_tweet_ids_str: string[];
2559
- possibly_sensitive: boolean;
2560
- profile_banner_url?: string;
2561
- profile_image_url_https: string;
2562
- profile_interstitial_type: string;
2563
- screen_name: string;
2564
- statuses_count: number;
2565
- translator_type: string;
2566
- verified: boolean;
2567
- want_retweets: boolean;
2568
- withheld_in_countries: unknown[];
2569
- url?: string;
2570
- verified_type?: string;
2571
- };
2572
- tipjar_settings?: {
2573
- is_enabled?: boolean;
2574
- };
2575
- professional?: {
2576
- rest_id: string;
2577
- professional_type: string;
2578
- category: {
2579
- id: number;
2580
- name: string;
2581
- icon_name: string;
2582
- }[];
2583
- };
2584
- };
2585
- };
2586
- };
2587
- unmention_data?: {};
2588
- edit_control?: {
2589
- edit_tweet_ids: string[];
2590
- editable_until_msecs: string;
2591
- is_edit_eligible: boolean;
2592
- edits_remaining: string;
2593
- };
2594
- is_translatable?: boolean;
2595
- views?: {
2596
- count: string;
2597
- state: string;
2598
- };
2599
- source?: string;
2600
- legacy?: {
2601
- bookmark_count: number;
2602
- bookmarked: boolean;
2603
- created_at: string;
2604
- conversation_id_str: string;
2605
- display_text_range: number[];
2606
- entities: {
2607
- hashtags: {
2608
- indices: number[];
2609
- text: string;
2610
- }[];
2611
- symbols: unknown[];
2612
- timestamps: unknown[];
2613
- urls: {
2614
- display_url: string;
2615
- expanded_url: string;
2616
- url: string;
2617
- indices: number[];
2618
- }[];
2619
- user_mentions: {
2620
- id_str: string;
2621
- name: string;
2622
- screen_name: string;
2623
- indices: number[];
2624
- }[];
2625
- media?: {
2626
- display_url: string;
2627
- expanded_url: string;
2628
- id_str: string;
2629
- indices: number[];
2630
- media_key: string;
2631
- media_url_https: string;
2632
- type: string;
2633
- url: string;
2634
- ext_media_availability: {
2635
- status: string;
2636
- };
2637
- features?: {
2638
- large: {
2639
- faces: {
2640
- x: number;
2641
- y: number;
4030
+ sizes: {
4031
+ large: {
2642
4032
  h: number;
2643
4033
  w: number;
2644
- }[];
2645
- };
2646
- medium: {
2647
- faces: {
2648
- x: number;
2649
- y: number;
4034
+ resize: string;
4035
+ };
4036
+ medium: {
2650
4037
  h: number;
2651
4038
  w: number;
2652
- }[];
2653
- };
2654
- small: {
2655
- faces: {
2656
- x: number;
2657
- y: number;
4039
+ resize: string;
4040
+ };
4041
+ small: {
2658
4042
  h: number;
2659
4043
  w: number;
2660
- }[];
4044
+ resize: string;
4045
+ };
4046
+ thumb: {
4047
+ h: number;
4048
+ w: number;
4049
+ resize: string;
4050
+ };
2661
4051
  };
2662
- orig: {
2663
- faces: {
4052
+ original_info: {
4053
+ height: number;
4054
+ width: number;
4055
+ focus_rects: {
2664
4056
  x: number;
2665
4057
  y: number;
2666
- h: number;
2667
4058
  w: number;
4059
+ h: number;
2668
4060
  }[];
2669
4061
  };
2670
- };
2671
- sizes: {
2672
- large: {
2673
- h: number;
2674
- w: number;
2675
- resize: string;
4062
+ media_results: {
4063
+ result: {
4064
+ media_key: string;
4065
+ };
2676
4066
  };
2677
- medium: {
2678
- h: number;
2679
- w: number;
2680
- resize: string;
4067
+ allow_download_status?: {
4068
+ allow_download?: boolean;
2681
4069
  };
2682
- small: {
2683
- h: number;
2684
- w: number;
2685
- resize: string;
4070
+ ext_alt_text?: string;
4071
+ additional_media_info?: {
4072
+ monetizable: boolean;
4073
+ title?: string;
4074
+ description?: string;
4075
+ embeddable?: boolean;
4076
+ source_user?: {
4077
+ user_results: {
4078
+ result: {
4079
+ __typename: string;
4080
+ id: string;
4081
+ rest_id: string;
4082
+ affiliates_highlighted_label: {};
4083
+ has_graduated_access: boolean;
4084
+ parody_commentary_fan_label: string;
4085
+ is_blue_verified: boolean;
4086
+ profile_image_shape: string;
4087
+ legacy: {
4088
+ following: boolean;
4089
+ can_dm: boolean;
4090
+ can_media_tag: boolean;
4091
+ created_at: string;
4092
+ default_profile: boolean;
4093
+ default_profile_image: boolean;
4094
+ description: string;
4095
+ entities: {
4096
+ description: {
4097
+ urls: unknown[];
4098
+ };
4099
+ url: {
4100
+ urls: {
4101
+ display_url: string;
4102
+ expanded_url: string;
4103
+ url: string;
4104
+ indices: number[];
4105
+ }[];
4106
+ };
4107
+ };
4108
+ fast_followers_count: number;
4109
+ favourites_count: number;
4110
+ followers_count: number;
4111
+ friends_count: number;
4112
+ has_custom_timelines: boolean;
4113
+ is_translator: boolean;
4114
+ listed_count: number;
4115
+ location: string;
4116
+ media_count: number;
4117
+ name: string;
4118
+ normal_followers_count: number;
4119
+ pinned_tweet_ids_str: string[];
4120
+ possibly_sensitive: boolean;
4121
+ profile_banner_url: string;
4122
+ profile_image_url_https: string;
4123
+ profile_interstitial_type: string;
4124
+ screen_name: string;
4125
+ statuses_count: number;
4126
+ translator_type: string;
4127
+ url: string;
4128
+ verified: boolean;
4129
+ want_retweets: boolean;
4130
+ withheld_in_countries: unknown[];
4131
+ };
4132
+ professional?: {
4133
+ rest_id: string;
4134
+ professional_type: string;
4135
+ category: {
4136
+ id: number;
4137
+ name: string;
4138
+ icon_name: string;
4139
+ }[];
4140
+ };
4141
+ tipjar_settings: {};
4142
+ };
4143
+ };
4144
+ };
4145
+ call_to_actions?: {
4146
+ visit_site: {
4147
+ url: string;
4148
+ };
4149
+ };
2686
4150
  };
2687
- thumb: {
2688
- h: number;
2689
- w: number;
2690
- resize: string;
4151
+ video_info?: {
4152
+ aspect_ratio: number[];
4153
+ duration_millis: number;
4154
+ variants: {
4155
+ content_type: string;
4156
+ url: string;
4157
+ bitrate?: number;
4158
+ }[];
4159
+ };
4160
+ source_status_id_str?: string;
4161
+ source_user_id_str?: string;
4162
+ }[];
4163
+ };
4164
+ possibly_sensitive?: boolean;
4165
+ possibly_sensitive_editable?: boolean;
4166
+ in_reply_to_screen_name?: string;
4167
+ in_reply_to_status_id_str?: string;
4168
+ in_reply_to_user_id_str?: string;
4169
+ quoted_status_id_str?: string;
4170
+ quoted_status_permalink?: {
4171
+ url: string;
4172
+ expanded: string;
4173
+ display: string;
4174
+ };
4175
+ scopes?: {
4176
+ followers: boolean;
4177
+ };
4178
+ };
4179
+ card?: {
4180
+ rest_id: string;
4181
+ legacy: {
4182
+ binding_values: {
4183
+ key: string;
4184
+ value: {
4185
+ image_value?: {
4186
+ height: number;
4187
+ width: number;
4188
+ url: string;
4189
+ alt?: string;
4190
+ };
4191
+ type: string;
4192
+ string_value?: string;
4193
+ scribe_key?: string;
4194
+ user_value?: {
4195
+ id_str: string;
4196
+ path: unknown[];
4197
+ };
4198
+ image_color_value?: {
4199
+ palette: {
4200
+ rgb: {
4201
+ blue: number;
4202
+ green: number;
4203
+ red: number;
4204
+ };
4205
+ percentage: number;
4206
+ }[];
4207
+ };
4208
+ };
4209
+ }[];
4210
+ card_platform: {
4211
+ platform: {
4212
+ audience: {
4213
+ name: string;
4214
+ };
4215
+ device: {
4216
+ name: string;
4217
+ version: string;
4218
+ };
2691
4219
  };
2692
4220
  };
2693
- original_info: {
2694
- height: number;
2695
- width: number;
2696
- focus_rects: {
2697
- x: number;
2698
- y: number;
2699
- w: number;
2700
- h: number;
2701
- }[];
2702
- };
2703
- allow_download_status?: {
2704
- allow_download: boolean;
2705
- };
2706
- media_results: {
4221
+ name: string;
4222
+ url: string;
4223
+ user_refs_results: {
2707
4224
  result: {
2708
- media_key: string;
4225
+ __typename: string;
4226
+ id: string;
4227
+ rest_id: string;
4228
+ affiliates_highlighted_label: {
4229
+ label?: {
4230
+ url: {
4231
+ url: string;
4232
+ urlType: string;
4233
+ };
4234
+ badge: {
4235
+ url: string;
4236
+ };
4237
+ description: string;
4238
+ userLabelType: string;
4239
+ userLabelDisplayType: string;
4240
+ };
4241
+ };
4242
+ has_graduated_access: boolean;
4243
+ parody_commentary_fan_label: string;
4244
+ is_blue_verified: boolean;
4245
+ profile_image_shape: string;
4246
+ legacy: {
4247
+ blocking?: boolean;
4248
+ following: boolean;
4249
+ can_dm: boolean;
4250
+ can_media_tag: boolean;
4251
+ created_at: string;
4252
+ default_profile: boolean;
4253
+ default_profile_image: boolean;
4254
+ description: string;
4255
+ entities: {
4256
+ description: {
4257
+ urls: {
4258
+ display_url: string;
4259
+ expanded_url: string;
4260
+ url: string;
4261
+ indices: number[];
4262
+ }[];
4263
+ };
4264
+ url: {
4265
+ urls: {
4266
+ display_url: string;
4267
+ expanded_url: string;
4268
+ url: string;
4269
+ indices: number[];
4270
+ }[];
4271
+ };
4272
+ };
4273
+ fast_followers_count: number;
4274
+ favourites_count: number;
4275
+ followers_count: number;
4276
+ friends_count: number;
4277
+ has_custom_timelines: boolean;
4278
+ is_translator: boolean;
4279
+ listed_count: number;
4280
+ location: string;
4281
+ media_count: number;
4282
+ name: string;
4283
+ normal_followers_count: number;
4284
+ pinned_tweet_ids_str: string[];
4285
+ possibly_sensitive: boolean;
4286
+ profile_banner_url: string;
4287
+ profile_image_url_https: string;
4288
+ profile_interstitial_type: string;
4289
+ screen_name: string;
4290
+ statuses_count: number;
4291
+ translator_type: string;
4292
+ url: string;
4293
+ verified: boolean;
4294
+ verified_type?: string;
4295
+ want_retweets: boolean;
4296
+ withheld_in_countries: unknown[];
4297
+ };
4298
+ tipjar_settings: {
4299
+ is_enabled?: boolean;
4300
+ bitcoin_handle?: string;
4301
+ };
4302
+ professional?: {
4303
+ rest_id: string;
4304
+ professional_type: string;
4305
+ category: {
4306
+ id: number;
4307
+ name: string;
4308
+ icon_name: string;
4309
+ }[];
4310
+ };
2709
4311
  };
2710
- };
2711
- additional_media_info?: {
2712
- monetizable: boolean;
2713
- };
2714
- video_info?: {
2715
- aspect_ratio: number[];
2716
- duration_millis: number;
2717
- variants: {
2718
- content_type: string;
2719
- url: string;
2720
- bitrate?: number;
2721
- }[];
2722
- };
2723
- }[];
4312
+ }[];
4313
+ };
2724
4314
  };
2725
- favorite_count: number;
2726
- favorited: boolean;
2727
- full_text: string;
2728
- is_quote_status: boolean;
2729
- lang: string;
2730
- quote_count: number;
2731
- reply_count: number;
2732
- retweet_count: number;
2733
- retweeted: boolean;
2734
- user_id_str: string;
2735
- id_str: string;
2736
- extended_entities?: {
2737
- media: {
2738
- display_url: string;
2739
- expanded_url: string;
2740
- id_str: string;
2741
- indices: number[];
2742
- media_key: string;
2743
- media_url_https: string;
2744
- type: string;
2745
- url: string;
2746
- ext_media_availability: {
2747
- status: string;
2748
- };
2749
- features?: {
2750
- large: {
2751
- faces: {
2752
- x: number;
2753
- y: number;
2754
- h: number;
2755
- w: number;
4315
+ note_tweet?: {
4316
+ is_expandable: boolean;
4317
+ note_tweet_results: {
4318
+ result: {
4319
+ id: string;
4320
+ text: string;
4321
+ entity_set: {
4322
+ hashtags: {
4323
+ indices: number[];
4324
+ text: string;
2756
4325
  }[];
2757
- };
2758
- medium: {
2759
- faces: {
2760
- x: number;
2761
- y: number;
2762
- h: number;
2763
- w: number;
4326
+ symbols: unknown[];
4327
+ timestamps?: {
4328
+ indices: number[];
4329
+ seconds: number;
4330
+ text: string;
2764
4331
  }[];
2765
- };
2766
- small: {
2767
- faces: {
2768
- x: number;
2769
- y: number;
2770
- h: number;
2771
- w: number;
4332
+ urls: {
4333
+ display_url: string;
4334
+ expanded_url: string;
4335
+ url: string;
4336
+ indices: number[];
2772
4337
  }[];
2773
- };
2774
- orig: {
2775
- faces: {
2776
- x: number;
2777
- y: number;
2778
- h: number;
2779
- w: number;
4338
+ user_mentions: {
4339
+ id_str: string;
4340
+ name: string;
4341
+ screen_name: string;
4342
+ indices: number[];
2780
4343
  }[];
2781
4344
  };
2782
- };
2783
- sizes: {
2784
- large: {
2785
- h: number;
2786
- w: number;
2787
- resize: string;
2788
- };
2789
- medium: {
2790
- h: number;
2791
- w: number;
2792
- resize: string;
2793
- };
2794
- small: {
2795
- h: number;
2796
- w: number;
2797
- resize: string;
2798
- };
2799
- thumb: {
2800
- h: number;
2801
- w: number;
2802
- resize: string;
4345
+ richtext?: {
4346
+ richtext_tags: {
4347
+ from_index: number;
4348
+ to_index: number;
4349
+ richtext_types: string[];
4350
+ }[];
2803
4351
  };
2804
- };
2805
- original_info: {
2806
- height: number;
2807
- width: number;
2808
- focus_rects: {
2809
- x: number;
2810
- y: number;
2811
- w: number;
2812
- h: number;
2813
- }[];
2814
- };
2815
- allow_download_status?: {
2816
- allow_download: boolean;
2817
- };
2818
- media_results: {
2819
- result: {
2820
- media_key: string;
4352
+ media?: {
4353
+ inline_media: unknown[];
2821
4354
  };
2822
4355
  };
2823
- additional_media_info?: {
2824
- monetizable: boolean;
2825
- };
2826
- video_info?: {
2827
- aspect_ratio: number[];
2828
- duration_millis: number;
2829
- variants: {
2830
- content_type: string;
2831
- url: string;
2832
- bitrate?: number;
2833
- }[];
4356
+ };
4357
+ };
4358
+ previous_counts?: {
4359
+ bookmark_count: number;
4360
+ favorite_count: number;
4361
+ quote_count: number;
4362
+ reply_count: number;
4363
+ retweet_count: number;
4364
+ };
4365
+ quotedRefResult?: {
4366
+ result: {
4367
+ __typename: string;
4368
+ rest_id?: string;
4369
+ tweet?: {
4370
+ rest_id: string;
2834
4371
  };
2835
- }[];
4372
+ };
2836
4373
  };
2837
- possibly_sensitive?: boolean;
2838
- possibly_sensitive_editable?: boolean;
2839
- quoted_status_id_str?: string;
2840
- quoted_status_permalink?: {
2841
- url: string;
2842
- expanded: string;
2843
- display: string;
4374
+ birdwatch_pivot?: {
4375
+ callToAction: {
4376
+ prompt: string;
4377
+ title: string;
4378
+ destinationUrl: string;
4379
+ };
4380
+ destinationUrl: string;
4381
+ footer: {
4382
+ text: string;
4383
+ entities: {
4384
+ fromIndex: number;
4385
+ toIndex: number;
4386
+ ref: {
4387
+ type: string;
4388
+ url: string;
4389
+ urlType: string;
4390
+ };
4391
+ }[];
4392
+ };
4393
+ note: {
4394
+ rest_id: string;
4395
+ };
4396
+ subtitle: {
4397
+ text: string;
4398
+ entities: {
4399
+ fromIndex: number;
4400
+ toIndex: number;
4401
+ ref: {
4402
+ type: string;
4403
+ url: string;
4404
+ urlType: string;
4405
+ };
4406
+ }[];
4407
+ };
4408
+ title: string;
4409
+ shorttitle: string;
4410
+ visualStyle: string;
4411
+ iconType: string;
2844
4412
  };
2845
- in_reply_to_screen_name?: string;
2846
- in_reply_to_status_id_str?: string;
2847
- in_reply_to_user_id_str?: string;
2848
4413
  };
2849
- quotedRefResult?: {
2850
- result?: {
2851
- __typename: string;
2852
- rest_id?: string;
2853
- tweet?: {
2854
- rest_id: string;
4414
+ limitedActionResults?: {
4415
+ limited_actions: {
4416
+ action: string;
4417
+ prompt: {
4418
+ __typename: string;
4419
+ cta_type: string;
4420
+ headline: {
4421
+ text: string;
4422
+ entities: unknown[];
4423
+ };
4424
+ subtext: {
4425
+ text: string;
4426
+ entities: unknown[];
4427
+ };
2855
4428
  };
4429
+ }[];
4430
+ };
4431
+ tweetInterstitial?: {
4432
+ __typename: string;
4433
+ displayType: string;
4434
+ text: {
4435
+ rtl: boolean;
4436
+ text: string;
4437
+ entities: unknown[];
4438
+ };
4439
+ revealText: {
4440
+ rtl: boolean;
4441
+ text: string;
4442
+ entities: unknown[];
2856
4443
  };
2857
4444
  };
2858
- grok_analysis_button?: boolean;
2859
4445
  card?: {
2860
4446
  rest_id: string;
2861
4447
  legacy: {
2862
4448
  binding_values: {
2863
4449
  key: string;
2864
4450
  value: {
2865
- string_value?: string;
2866
- type: string;
2867
- boolean_value?: boolean;
2868
- scribe_key?: string;
2869
4451
  image_value?: {
2870
4452
  height: number;
2871
4453
  width: number;
2872
4454
  url: string;
4455
+ alt?: string;
2873
4456
  };
4457
+ type: string;
4458
+ string_value?: string;
4459
+ scribe_key?: string;
2874
4460
  image_color_value?: {
2875
4461
  palette: {
2876
4462
  rgb: {
@@ -2881,6 +4467,7 @@ export interface CustomTweetLegacyObject {
2881
4467
  percentage: number;
2882
4468
  }[];
2883
4469
  };
4470
+ boolean_value?: boolean;
2884
4471
  user_value?: {
2885
4472
  id_str: string;
2886
4473
  path: unknown[];
@@ -2905,7 +4492,20 @@ export interface CustomTweetLegacyObject {
2905
4492
  __typename: string;
2906
4493
  id?: string;
2907
4494
  rest_id?: string;
2908
- affiliates_highlighted_label?: {};
4495
+ affiliates_highlighted_label?: {
4496
+ label?: {
4497
+ url: {
4498
+ url: string;
4499
+ urlType: string;
4500
+ };
4501
+ badge: {
4502
+ url: string;
4503
+ };
4504
+ description: string;
4505
+ userLabelType: string;
4506
+ userLabelDisplayType: string;
4507
+ };
4508
+ };
2909
4509
  has_graduated_access?: boolean;
2910
4510
  parody_commentary_fan_label?: string;
2911
4511
  is_blue_verified?: boolean;
@@ -2960,42 +4560,31 @@ export interface CustomTweetLegacyObject {
2960
4560
  want_retweets: boolean;
2961
4561
  withheld_in_countries: unknown[];
2962
4562
  verified_type?: string;
4563
+ blocking?: boolean;
2963
4564
  };
2964
4565
  tipjar_settings?: {};
2965
4566
  message?: string;
2966
4567
  reason?: string;
4568
+ professional?: {
4569
+ rest_id: string;
4570
+ professional_type: string;
4571
+ category: {
4572
+ id: number;
4573
+ name: string;
4574
+ icon_name: string;
4575
+ }[];
4576
+ };
2967
4577
  };
2968
4578
  }[];
2969
4579
  };
2970
4580
  };
2971
- tombstone?: {
2972
- __typename: string;
2973
- text: {
2974
- rtl: boolean;
2975
- text: string;
2976
- entities: {
2977
- fromIndex: number;
2978
- toIndex: number;
2979
- ref: {
2980
- type: string;
2981
- url: string;
2982
- urlType: string;
2983
- };
2984
- }[];
2985
- };
2986
- };
2987
- tweetInterstitial?: {
2988
- __typename: string;
2989
- displayType: string;
2990
- text: {
2991
- rtl: boolean;
2992
- text: string;
2993
- entities: unknown[];
2994
- };
2995
- revealText: {
2996
- rtl: boolean;
2997
- text: string;
2998
- entities: unknown[];
4581
+ quotedRefResult?: {
4582
+ result: {
4583
+ __typename: string;
4584
+ tweet?: {
4585
+ rest_id: string;
4586
+ };
4587
+ rest_id?: string;
2999
4588
  };
3000
4589
  };
3001
4590
  note_tweet?: {
@@ -3009,17 +4598,30 @@ export interface CustomTweetLegacyObject {
3009
4598
  indices: number[];
3010
4599
  text: string;
3011
4600
  }[];
3012
- symbols: unknown[];
4601
+ symbols: {
4602
+ indices: number[];
4603
+ text: string;
4604
+ }[];
3013
4605
  urls: {
3014
4606
  display_url: string;
3015
4607
  expanded_url: string;
3016
4608
  url: string;
3017
4609
  indices: number[];
3018
4610
  }[];
3019
- user_mentions: unknown[];
4611
+ user_mentions: {
4612
+ id_str: string;
4613
+ name: string;
4614
+ screen_name: string;
4615
+ indices: number[];
4616
+ }[];
4617
+ timestamps?: unknown[];
3020
4618
  };
3021
4619
  richtext?: {
3022
- richtext_tags: unknown[];
4620
+ richtext_tags: {
4621
+ from_index: number;
4622
+ to_index: number;
4623
+ richtext_types: string[];
4624
+ }[];
3023
4625
  };
3024
4626
  media?: {
3025
4627
  inline_media: {
@@ -3030,43 +4632,105 @@ export interface CustomTweetLegacyObject {
3030
4632
  };
3031
4633
  };
3032
4634
  };
3033
- };
3034
- };
3035
- grok_analysis_button?: boolean;
3036
- note_tweet?: {
3037
- is_expandable: boolean;
3038
- note_tweet_results: {
3039
- result: {
3040
- id: string;
3041
- text: string;
3042
- entity_set: {
3043
- hashtags: {
3044
- indices: number[];
3045
- text: string;
3046
- }[];
3047
- symbols: unknown[];
3048
- timestamps?: unknown[];
3049
- urls: {
3050
- display_url: string;
3051
- expanded_url: string;
3052
- url: string;
3053
- indices: number[];
4635
+ tombstone?: {
4636
+ __typename: string;
4637
+ text: {
4638
+ rtl: boolean;
4639
+ text: string;
4640
+ entities: {
4641
+ fromIndex: number;
4642
+ toIndex: number;
4643
+ ref: {
4644
+ type: string;
4645
+ url: string;
4646
+ urlType: string;
4647
+ };
3054
4648
  }[];
3055
- user_mentions: unknown[];
3056
4649
  };
3057
- richtext?: {
3058
- richtext_tags: {
3059
- from_index: number;
3060
- to_index: number;
3061
- richtext_types: string[];
4650
+ };
4651
+ previous_counts?: {
4652
+ bookmark_count: number;
4653
+ favorite_count: number;
4654
+ quote_count: number;
4655
+ reply_count: number;
4656
+ retweet_count: number;
4657
+ };
4658
+ article?: {
4659
+ article_results: {
4660
+ result: {
4661
+ rest_id: string;
4662
+ id: string;
4663
+ title: string;
4664
+ preview_text: string;
4665
+ cover_media: {
4666
+ id: string;
4667
+ media_key: string;
4668
+ media_id: string;
4669
+ media_info: {
4670
+ __typename: string;
4671
+ original_img_height: number;
4672
+ original_img_width: number;
4673
+ original_img_url: string;
4674
+ color_info: {
4675
+ palette: {
4676
+ percentage: number;
4677
+ rgb: {
4678
+ blue: number;
4679
+ green: number;
4680
+ red: number;
4681
+ };
4682
+ }[];
4683
+ };
4684
+ };
4685
+ };
4686
+ lifecycle_state: {
4687
+ modified_at_secs: number;
4688
+ };
4689
+ metadata: {
4690
+ first_published_at_secs: number;
4691
+ };
4692
+ };
4693
+ };
4694
+ };
4695
+ voiceInfo?: {};
4696
+ birdwatch_pivot?: {
4697
+ callToAction: {
4698
+ prompt: string;
4699
+ title: string;
4700
+ destinationUrl: string;
4701
+ };
4702
+ destinationUrl: string;
4703
+ footer: {
4704
+ text: string;
4705
+ entities: {
4706
+ fromIndex: number;
4707
+ toIndex: number;
4708
+ ref: {
4709
+ type: string;
4710
+ url: string;
4711
+ urlType: string;
4712
+ };
3062
4713
  }[];
3063
4714
  };
3064
- media?: {
3065
- inline_media: {
3066
- media_id: string;
3067
- index: number;
4715
+ note: {
4716
+ rest_id: string;
4717
+ };
4718
+ subtitle: {
4719
+ text: string;
4720
+ entities: {
4721
+ fromIndex: number;
4722
+ toIndex: number;
4723
+ ref: {
4724
+ type: string;
4725
+ url: string;
4726
+ urlType: string;
4727
+ };
3068
4728
  }[];
3069
4729
  };
4730
+ title: string;
4731
+ shorttitle: string;
4732
+ visualStyle: string;
4733
+ iconType: string;
3070
4734
  };
3071
4735
  };
3072
4736
  };
@@ -3088,16 +4752,97 @@ export interface CustomTweetLegacyObject {
3088
4752
  };
3089
4753
  };
3090
4754
  };
3091
- };
3092
- };
3093
- conversation_control?: {
3094
- policy: string;
3095
- conversation_owner_results: {
3096
- result: {
3097
- __typename: string;
3098
- legacy: {
3099
- screen_name: string;
4755
+ voiceInfo?: {};
4756
+ mediaVisibilityResults?: {
4757
+ blurred_image_interstitial: {
4758
+ opacity: number;
4759
+ text: {
4760
+ rtl: boolean;
4761
+ text: string;
4762
+ entities: unknown[];
4763
+ };
4764
+ title: {
4765
+ rtl: boolean;
4766
+ text: string;
4767
+ entities: unknown[];
4768
+ };
4769
+ };
4770
+ };
4771
+ article?: {
4772
+ article_results: {
4773
+ result: {
4774
+ rest_id: string;
4775
+ id: string;
4776
+ title: string;
4777
+ preview_text: string;
4778
+ cover_media?: {
4779
+ id: string;
4780
+ media_key: string;
4781
+ media_id: string;
4782
+ media_info: {
4783
+ __typename: string;
4784
+ original_img_height: number;
4785
+ original_img_width: number;
4786
+ original_img_url: string;
4787
+ color_info: {
4788
+ palette: {
4789
+ percentage: number;
4790
+ rgb: {
4791
+ blue: number;
4792
+ green: number;
4793
+ red: number;
4794
+ };
4795
+ }[];
4796
+ };
4797
+ };
4798
+ };
4799
+ lifecycle_state: {
4800
+ modified_at_secs: number;
4801
+ };
4802
+ metadata: {
4803
+ first_published_at_secs: number;
4804
+ };
4805
+ };
4806
+ };
4807
+ };
4808
+ birdwatch_pivot?: {
4809
+ callToAction: {
4810
+ prompt: string;
4811
+ title: string;
4812
+ destinationUrl: string;
4813
+ };
4814
+ destinationUrl: string;
4815
+ footer: {
4816
+ text: string;
4817
+ entities: {
4818
+ fromIndex: number;
4819
+ toIndex: number;
4820
+ ref: {
4821
+ type: string;
4822
+ url: string;
4823
+ urlType: string;
4824
+ };
4825
+ }[];
4826
+ };
4827
+ note: {
4828
+ rest_id: string;
4829
+ };
4830
+ subtitle: {
4831
+ text: string;
4832
+ entities: {
4833
+ fromIndex: number;
4834
+ toIndex: number;
4835
+ ref: {
4836
+ type: string;
4837
+ url: string;
4838
+ urlType: string;
4839
+ };
4840
+ }[];
3100
4841
  };
4842
+ title: string;
4843
+ shorttitle: string;
4844
+ visualStyle: string;
4845
+ iconType: string;
3101
4846
  };
3102
4847
  };
3103
4848
  };