@book000/twitterts 0.74.80 → 0.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
@@ -11,8 +11,8 @@ export interface CustomSearchTimelineEntry {
11
11
  tweet_results: {
12
12
  result: {
13
13
  __typename: string;
14
- rest_id: string;
15
- core: {
14
+ rest_id?: string;
15
+ core?: {
16
16
  user_results: {
17
17
  result: {
18
18
  __typename: string;
@@ -20,7 +20,7 @@ export interface CustomSearchTimelineEntry {
20
20
  rest_id: string;
21
21
  affiliates_highlighted_label: {
22
22
  label?: {
23
- url: {
23
+ url?: {
24
24
  url: string;
25
25
  urlType: string;
26
26
  };
@@ -29,7 +29,27 @@ export interface CustomSearchTimelineEntry {
29
29
  };
30
30
  description: string;
31
31
  userLabelType: string;
32
- userLabelDisplayType: string;
32
+ userLabelDisplayType?: string;
33
+ longDescription?: {
34
+ text: string;
35
+ entities: {
36
+ fromIndex: number;
37
+ toIndex: number;
38
+ ref: {
39
+ type: string;
40
+ screen_name: string;
41
+ mention_results: {
42
+ result: {
43
+ __typename: string;
44
+ legacy: {
45
+ screen_name: string;
46
+ };
47
+ rest_id: string;
48
+ };
49
+ };
50
+ };
51
+ }[];
52
+ };
33
53
  };
34
54
  };
35
55
  has_graduated_access: boolean;
@@ -84,11 +104,12 @@ export interface CustomSearchTimelineEntry {
84
104
  url?: string;
85
105
  verified: boolean;
86
106
  want_retweets: boolean;
87
- withheld_in_countries: unknown[];
107
+ withheld_in_countries: string[];
88
108
  needs_phone_verification?: boolean;
89
109
  verified_type?: string;
90
110
  followed_by?: boolean;
91
111
  protected?: boolean;
112
+ notifications?: boolean;
92
113
  };
93
114
  tipjar_settings: {
94
115
  is_enabled?: boolean;
@@ -96,6 +117,10 @@ export interface CustomSearchTimelineEntry {
96
117
  ethereum_handle?: string;
97
118
  venmo_handle?: string;
98
119
  patreon_handle?: string;
120
+ gofundme_handle?: string;
121
+ cash_app_handle?: string;
122
+ bandcamp_handle?: string;
123
+ pay_pal_handle?: string;
99
124
  };
100
125
  professional?: {
101
126
  rest_id: string;
@@ -110,8 +135,8 @@ export interface CustomSearchTimelineEntry {
110
135
  };
111
136
  };
112
137
  };
113
- unmention_data: {};
114
- edit_control: {
138
+ unmention_data?: {};
139
+ edit_control?: {
115
140
  edit_tweet_ids?: string[];
116
141
  editable_until_msecs?: string;
117
142
  is_edit_eligible?: boolean;
@@ -124,13 +149,13 @@ export interface CustomSearchTimelineEntry {
124
149
  edits_remaining: string;
125
150
  };
126
151
  };
127
- is_translatable: boolean;
128
- views: {
152
+ is_translatable?: boolean;
153
+ views?: {
129
154
  count?: string;
130
155
  state: string;
131
156
  };
132
- source: string;
133
- legacy: {
157
+ source?: string;
158
+ legacy?: {
134
159
  bookmark_count: number;
135
160
  bookmarked: boolean;
136
161
  created_at: string;
@@ -284,6 +309,7 @@ export interface CustomSearchTimelineEntry {
284
309
  verified: boolean;
285
310
  want_retweets: boolean;
286
311
  withheld_in_countries: unknown[];
312
+ profile_banner_url?: string;
287
313
  };
288
314
  tipjar_settings: {};
289
315
  };
@@ -301,7 +327,10 @@ export interface CustomSearchTimelineEntry {
301
327
  };
302
328
  ext_alt_text?: string;
303
329
  }[];
304
- symbols: unknown[];
330
+ symbols: {
331
+ indices: number[];
332
+ text: string;
333
+ }[];
305
334
  timestamps: unknown[];
306
335
  urls: {
307
336
  display_url: string;
@@ -460,6 +489,7 @@ export interface CustomSearchTimelineEntry {
460
489
  verified: boolean;
461
490
  want_retweets: boolean;
462
491
  withheld_in_countries: unknown[];
492
+ profile_banner_url?: string;
463
493
  };
464
494
  tipjar_settings: {};
465
495
  };
@@ -516,591 +546,955 @@ export interface CustomSearchTimelineEntry {
516
546
  place_type: string;
517
547
  url: string;
518
548
  };
519
- };
520
- previous_counts?: {
521
- bookmark_count: number;
522
- favorite_count: number;
523
- quote_count: number;
524
- reply_count: number;
525
- retweet_count: number;
526
- };
527
- quoted_status_result?: {
528
- result: {
529
- __typename: string;
530
- rest_id?: string;
531
- core?: {
532
- user_results: {
533
- result: {
534
- __typename: string;
535
- id: string;
536
- rest_id: string;
537
- affiliates_highlighted_label: {
538
- label?: {
539
- url: {
540
- url: string;
541
- urlType: string;
542
- };
543
- badge: {
544
- url: string;
545
- };
546
- description: string;
547
- userLabelType: string;
548
- userLabelDisplayType: string;
549
- };
550
- };
551
- has_graduated_access: boolean;
552
- parody_commentary_fan_label: string;
553
- is_blue_verified: boolean;
554
- profile_image_shape: string;
555
- legacy: {
556
- following: boolean;
557
- can_dm: boolean;
558
- can_media_tag: boolean;
559
- created_at: string;
560
- default_profile: boolean;
561
- default_profile_image: boolean;
562
- description: string;
563
- entities: {
564
- description: {
565
- urls: {
566
- display_url: string;
567
- expanded_url: string;
549
+ conversation_control?: {
550
+ policy: string;
551
+ conversation_owner_results: {
552
+ result: {
553
+ __typename: string;
554
+ legacy: {
555
+ screen_name: string;
556
+ };
557
+ };
558
+ };
559
+ };
560
+ retweeted_status_result?: {
561
+ result: {
562
+ __typename: string;
563
+ rest_id: string;
564
+ core: {
565
+ user_results: {
566
+ result: {
567
+ __typename: string;
568
+ id: string;
569
+ rest_id: string;
570
+ affiliates_highlighted_label: {
571
+ label: {
572
+ url: {
568
573
  url: string;
569
- indices: number[];
570
- }[];
571
- };
572
- url?: {
573
- urls: {
574
- display_url: string;
575
- expanded_url: string;
574
+ urlType: string;
575
+ };
576
+ badge: {
576
577
  url: string;
577
- indices: number[];
578
- }[];
578
+ };
579
+ description: string;
580
+ userLabelType: string;
581
+ userLabelDisplayType: string;
579
582
  };
580
583
  };
581
- fast_followers_count: number;
582
- favourites_count: number;
583
- followers_count: number;
584
- friends_count: number;
585
- has_custom_timelines: boolean;
586
- is_translator: boolean;
587
- listed_count: number;
588
- location: string;
589
- media_count: number;
590
- name: string;
591
- normal_followers_count: number;
592
- pinned_tweet_ids_str: string[];
593
- possibly_sensitive: boolean;
594
- profile_banner_url: string;
595
- profile_image_url_https: string;
596
- profile_interstitial_type: string;
597
- screen_name: string;
598
- statuses_count: number;
599
- translator_type: string;
600
- url?: string;
601
- verified: boolean;
602
- want_retweets: boolean;
603
- withheld_in_countries: unknown[];
604
- verified_type?: string;
605
- };
606
- tipjar_settings: {};
607
- professional?: {
608
- rest_id: string;
609
- professional_type: string;
610
- category: unknown[];
584
+ has_graduated_access: boolean;
585
+ parody_commentary_fan_label: string;
586
+ is_blue_verified: boolean;
587
+ profile_image_shape: string;
588
+ legacy: {
589
+ following: boolean;
590
+ can_dm: boolean;
591
+ can_media_tag: boolean;
592
+ created_at: string;
593
+ default_profile: boolean;
594
+ default_profile_image: boolean;
595
+ description: string;
596
+ entities: {
597
+ description: {
598
+ urls: unknown[];
599
+ };
600
+ url: {
601
+ urls: {
602
+ display_url: string;
603
+ expanded_url: string;
604
+ url: string;
605
+ indices: number[];
606
+ }[];
607
+ };
608
+ };
609
+ fast_followers_count: number;
610
+ favourites_count: number;
611
+ followers_count: number;
612
+ friends_count: number;
613
+ has_custom_timelines: boolean;
614
+ is_translator: boolean;
615
+ listed_count: number;
616
+ location: string;
617
+ media_count: number;
618
+ name: string;
619
+ normal_followers_count: number;
620
+ pinned_tweet_ids_str: string[];
621
+ possibly_sensitive: boolean;
622
+ profile_banner_url: string;
623
+ profile_image_url_https: string;
624
+ profile_interstitial_type: string;
625
+ screen_name: string;
626
+ statuses_count: number;
627
+ translator_type: string;
628
+ url: string;
629
+ verified: boolean;
630
+ want_retweets: boolean;
631
+ withheld_in_countries: unknown[];
632
+ };
633
+ tipjar_settings: {};
611
634
  };
612
635
  };
613
636
  };
614
- };
615
- unmention_data?: {};
616
- edit_control?: {
617
- edit_tweet_ids: string[];
618
- editable_until_msecs: string;
619
- is_edit_eligible: boolean;
620
- edits_remaining: string;
621
- };
622
- is_translatable?: boolean;
623
- views?: {
624
- count?: string;
625
- state: string;
626
- };
627
- source?: string;
628
- legacy?: {
629
- bookmark_count: number;
630
- bookmarked: boolean;
631
- created_at: string;
632
- conversation_id_str: string;
633
- display_text_range: number[];
634
- entities: {
635
- hashtags: unknown[];
636
- media?: {
637
- display_url: string;
638
- expanded_url: string;
639
- id_str: string;
640
- indices: number[];
641
- media_key: string;
642
- media_url_https: string;
643
- type: string;
644
- url: string;
645
- ext_media_availability: {
646
- status: string;
647
- };
648
- sizes: {
649
- large: {
650
- h: number;
651
- w: number;
652
- resize: string;
653
- };
654
- medium: {
655
- h: number;
656
- w: number;
657
- resize: string;
658
- };
659
- small: {
660
- h: number;
661
- w: number;
662
- resize: string;
637
+ unmention_data: {};
638
+ edit_control: {
639
+ edit_tweet_ids: string[];
640
+ editable_until_msecs: string;
641
+ is_edit_eligible: boolean;
642
+ edits_remaining: string;
643
+ };
644
+ is_translatable: boolean;
645
+ views: {
646
+ count: string;
647
+ state: string;
648
+ };
649
+ source: string;
650
+ legacy: {
651
+ bookmark_count: number;
652
+ bookmarked: boolean;
653
+ created_at: string;
654
+ conversation_id_str: string;
655
+ display_text_range: number[];
656
+ entities: {
657
+ hashtags: {
658
+ indices: number[];
659
+ text: string;
660
+ }[];
661
+ media: {
662
+ display_url: string;
663
+ expanded_url: string;
664
+ id_str: string;
665
+ indices: number[];
666
+ media_key: string;
667
+ media_url_https: string;
668
+ type: string;
669
+ url: string;
670
+ ext_media_availability: {
671
+ status: string;
663
672
  };
664
- thumb: {
665
- h: number;
666
- w: number;
667
- resize: string;
668
- };
669
- };
670
- original_info: {
671
- height: number;
672
- width: number;
673
- focus_rects: {
674
- x: number;
675
- y: number;
676
- w: number;
677
- h: number;
678
- }[];
679
- };
680
- allow_download_status?: {
681
- allow_download: boolean;
682
- };
683
- video_info?: {
684
- aspect_ratio: number[];
685
- variants: {
686
- bitrate?: number;
687
- content_type: string;
688
- url: string;
689
- }[];
690
- duration_millis?: number;
691
- };
692
- media_results: {
693
- result: {
694
- media_key: string;
673
+ features: {
674
+ large: {
675
+ faces: unknown[];
676
+ };
677
+ medium: {
678
+ faces: unknown[];
679
+ };
680
+ small: {
681
+ faces: unknown[];
682
+ };
683
+ orig: {
684
+ faces: unknown[];
685
+ };
695
686
  };
696
- };
697
- features?: {
698
- large: {
699
- faces: {
700
- x: number;
701
- y: number;
687
+ sizes: {
688
+ large: {
702
689
  h: number;
703
690
  w: number;
704
- }[];
705
- };
706
- medium: {
707
- faces: {
708
- x: number;
709
- y: number;
691
+ resize: string;
692
+ };
693
+ medium: {
710
694
  h: number;
711
695
  w: number;
712
- }[];
713
- };
714
- small: {
715
- faces: {
716
- x: number;
717
- y: number;
696
+ resize: string;
697
+ };
698
+ small: {
718
699
  h: number;
719
700
  w: number;
720
- }[];
701
+ resize: string;
702
+ };
703
+ thumb: {
704
+ h: number;
705
+ w: number;
706
+ resize: string;
707
+ };
721
708
  };
722
- orig: {
723
- faces: {
709
+ original_info: {
710
+ height: number;
711
+ width: number;
712
+ focus_rects: {
724
713
  x: number;
725
714
  y: number;
726
- h: number;
727
715
  w: number;
716
+ h: number;
728
717
  }[];
729
718
  };
730
- };
731
- additional_media_info?: {
732
- monetizable: boolean;
733
- };
734
- }[];
735
- symbols: unknown[];
736
- timestamps: unknown[];
737
- urls: {
738
- display_url: string;
739
- expanded_url: string;
740
- url: string;
741
- indices: number[];
742
- }[];
743
- user_mentions: unknown[];
744
- };
745
- extended_entities?: {
746
- media: {
747
- display_url: string;
748
- expanded_url: string;
749
- id_str: string;
750
- indices: number[];
751
- media_key: string;
752
- media_url_https: string;
753
- type: string;
754
- url: string;
755
- ext_media_availability: {
756
- status: string;
757
- };
758
- sizes: {
759
- large: {
760
- h: number;
761
- w: number;
762
- resize: string;
763
- };
764
- medium: {
765
- h: number;
766
- w: number;
767
- resize: string;
719
+ allow_download_status: {
720
+ allow_download: boolean;
768
721
  };
769
- small: {
770
- h: number;
771
- w: number;
772
- resize: string;
722
+ media_results: {
723
+ result: {
724
+ media_key: string;
725
+ };
773
726
  };
774
- thumb: {
775
- h: number;
776
- w: number;
777
- resize: string;
727
+ }[];
728
+ symbols: unknown[];
729
+ timestamps: unknown[];
730
+ urls: {
731
+ display_url: string;
732
+ expanded_url: string;
733
+ url: string;
734
+ indices: number[];
735
+ }[];
736
+ user_mentions: unknown[];
737
+ };
738
+ extended_entities: {
739
+ media: {
740
+ display_url: string;
741
+ expanded_url: string;
742
+ id_str: string;
743
+ indices: number[];
744
+ media_key: string;
745
+ media_url_https: string;
746
+ type: string;
747
+ url: string;
748
+ ext_media_availability: {
749
+ status: string;
778
750
  };
779
- };
780
- original_info: {
781
- height: number;
782
- width: number;
783
- focus_rects: {
784
- x: number;
785
- y: number;
786
- w: number;
787
- h: number;
788
- }[];
789
- };
790
- allow_download_status?: {
791
- allow_download: boolean;
792
- };
793
- video_info?: {
794
- aspect_ratio: number[];
795
- variants: {
796
- bitrate?: number;
797
- content_type: string;
798
- url: string;
799
- }[];
800
- duration_millis?: number;
801
- };
802
- media_results: {
803
- result: {
804
- media_key: string;
751
+ features: {
752
+ large: {
753
+ faces: unknown[];
754
+ };
755
+ medium: {
756
+ faces: unknown[];
757
+ };
758
+ small: {
759
+ faces: unknown[];
760
+ };
761
+ orig: {
762
+ faces: unknown[];
763
+ };
805
764
  };
806
- };
807
- features?: {
808
- large: {
809
- faces: {
810
- x: number;
811
- y: number;
765
+ sizes: {
766
+ large: {
812
767
  h: number;
813
768
  w: number;
814
- }[];
815
- };
816
- medium: {
817
- faces: {
818
- x: number;
819
- y: number;
769
+ resize: string;
770
+ };
771
+ medium: {
820
772
  h: number;
821
773
  w: number;
822
- }[];
823
- };
824
- small: {
825
- faces: {
826
- x: number;
827
- y: number;
774
+ resize: string;
775
+ };
776
+ small: {
828
777
  h: number;
829
778
  w: number;
830
- }[];
779
+ resize: string;
780
+ };
781
+ thumb: {
782
+ h: number;
783
+ w: number;
784
+ resize: string;
785
+ };
831
786
  };
832
- orig: {
833
- faces: {
787
+ original_info: {
788
+ height: number;
789
+ width: number;
790
+ focus_rects: {
834
791
  x: number;
835
792
  y: number;
836
- h: number;
837
793
  w: number;
794
+ h: number;
838
795
  }[];
839
796
  };
840
- };
841
- additional_media_info?: {
842
- monetizable: boolean;
843
- };
844
- }[];
845
- };
846
- favorite_count: number;
847
- favorited: boolean;
848
- full_text: string;
849
- is_quote_status: boolean;
850
- lang: string;
851
- possibly_sensitive?: boolean;
852
- possibly_sensitive_editable?: boolean;
853
- quote_count: number;
854
- reply_count: number;
855
- retweet_count: number;
856
- retweeted: boolean;
857
- user_id_str: string;
858
- id_str: string;
859
- };
860
- tweet?: {
861
- rest_id: string;
862
- core: {
863
- user_results: {
864
- result: {
865
- __typename: string;
866
- id: string;
867
- rest_id: string;
868
- affiliates_highlighted_label: {};
869
- has_graduated_access: boolean;
870
- parody_commentary_fan_label: string;
871
- is_blue_verified: boolean;
872
- profile_image_shape: string;
873
- legacy: {
874
- following: boolean;
875
- can_dm: boolean;
876
- can_media_tag: boolean;
877
- created_at: string;
878
- default_profile: boolean;
879
- default_profile_image: boolean;
880
- description: string;
881
- entities: {
882
- description: {
883
- urls: unknown[];
884
- };
885
- url: {
886
- urls: {
887
- display_url: string;
888
- expanded_url: string;
889
- url: string;
890
- indices: number[];
891
- }[];
892
- };
797
+ allow_download_status: {
798
+ allow_download: boolean;
799
+ };
800
+ media_results: {
801
+ result: {
802
+ media_key: string;
893
803
  };
894
- fast_followers_count: number;
895
- favourites_count: number;
896
- followers_count: number;
897
- friends_count: number;
898
- has_custom_timelines: boolean;
899
- is_translator: boolean;
900
- listed_count: number;
901
- location: string;
902
- media_count: number;
903
- name: string;
904
- normal_followers_count: number;
905
- pinned_tweet_ids_str: string[];
906
- possibly_sensitive: boolean;
907
- profile_banner_url: string;
908
- profile_image_url_https: string;
909
- profile_interstitial_type: string;
910
- screen_name: string;
911
- statuses_count: number;
912
- translator_type: string;
913
- url: string;
914
- verified: boolean;
915
- want_retweets: boolean;
916
- withheld_in_countries: unknown[];
917
804
  };
918
- professional: {
919
- rest_id: string;
920
- professional_type: string;
921
- category: unknown[];
805
+ }[];
806
+ };
807
+ favorite_count: number;
808
+ favorited: boolean;
809
+ full_text: string;
810
+ is_quote_status: boolean;
811
+ lang: string;
812
+ possibly_sensitive: boolean;
813
+ possibly_sensitive_editable: boolean;
814
+ quote_count: number;
815
+ reply_count: number;
816
+ retweet_count: number;
817
+ retweeted: boolean;
818
+ user_id_str: string;
819
+ id_str: string;
820
+ };
821
+ };
822
+ };
823
+ };
824
+ previous_counts?: {
825
+ bookmark_count: number;
826
+ favorite_count: number;
827
+ quote_count: number;
828
+ reply_count: number;
829
+ retweet_count: number;
830
+ };
831
+ quoted_status_result?: {
832
+ result?: {
833
+ __typename: string;
834
+ rest_id?: string;
835
+ core?: {
836
+ user_results: {
837
+ result: {
838
+ __typename: string;
839
+ id: string;
840
+ rest_id: string;
841
+ affiliates_highlighted_label: {
842
+ label?: {
843
+ url: {
844
+ url: string;
845
+ urlType: string;
846
+ };
847
+ badge: {
848
+ url: string;
849
+ };
850
+ description: string;
851
+ userLabelType: string;
852
+ userLabelDisplayType: string;
922
853
  };
923
- tipjar_settings: {};
924
854
  };
855
+ has_graduated_access: boolean;
856
+ parody_commentary_fan_label: string;
857
+ is_blue_verified: boolean;
858
+ profile_image_shape: string;
859
+ legacy: {
860
+ following: boolean;
861
+ can_dm: boolean;
862
+ can_media_tag: boolean;
863
+ created_at: string;
864
+ default_profile: boolean;
865
+ default_profile_image: boolean;
866
+ description: string;
867
+ entities: {
868
+ description: {
869
+ urls: {
870
+ display_url: string;
871
+ expanded_url: string;
872
+ url: string;
873
+ indices: number[];
874
+ }[];
875
+ };
876
+ url?: {
877
+ urls: {
878
+ display_url: string;
879
+ expanded_url: string;
880
+ url: string;
881
+ indices: number[];
882
+ }[];
883
+ };
884
+ };
885
+ fast_followers_count: number;
886
+ favourites_count: number;
887
+ followers_count: number;
888
+ friends_count: number;
889
+ has_custom_timelines: boolean;
890
+ is_translator: boolean;
891
+ listed_count: number;
892
+ location: string;
893
+ media_count: number;
894
+ name: string;
895
+ normal_followers_count: number;
896
+ pinned_tweet_ids_str: string[];
897
+ possibly_sensitive: boolean;
898
+ profile_banner_url?: string;
899
+ profile_image_url_https: string;
900
+ profile_interstitial_type: string;
901
+ screen_name: string;
902
+ statuses_count: number;
903
+ translator_type: string;
904
+ url?: string;
905
+ verified: boolean;
906
+ want_retweets: boolean;
907
+ withheld_in_countries: unknown[];
908
+ verified_type?: string;
909
+ blocking?: boolean;
910
+ notifications?: boolean;
911
+ };
912
+ tipjar_settings: {
913
+ is_enabled?: boolean;
914
+ patreon_handle?: string;
915
+ };
916
+ professional?: {
917
+ rest_id: string;
918
+ professional_type: string;
919
+ category: {
920
+ id: number;
921
+ name: string;
922
+ icon_name: string;
923
+ }[];
924
+ };
925
+ super_follow_eligible?: boolean;
925
926
  };
926
927
  };
927
- unmention_data: {};
928
- edit_control: {
928
+ };
929
+ unmention_data?: {};
930
+ edit_control?: {
931
+ edit_tweet_ids?: string[];
932
+ editable_until_msecs?: string;
933
+ is_edit_eligible?: boolean;
934
+ edits_remaining?: string;
935
+ initial_tweet_id?: string;
936
+ edit_control_initial?: {
929
937
  edit_tweet_ids: string[];
930
938
  editable_until_msecs: string;
931
939
  is_edit_eligible: boolean;
932
940
  edits_remaining: string;
933
941
  };
934
- is_translatable: boolean;
935
- views: {
936
- count: string;
937
- state: string;
938
- };
939
- source: string;
940
- legacy: {
941
- bookmark_count: number;
942
- bookmarked: boolean;
943
- created_at: string;
944
- conversation_control: {
945
- policy: string;
946
- conversation_owner_results: {
947
- result: {
948
- __typename: string;
949
- legacy: {
950
- screen_name: string;
951
- };
952
- };
942
+ };
943
+ is_translatable?: boolean;
944
+ views?: {
945
+ count?: string;
946
+ state: string;
947
+ };
948
+ source?: string;
949
+ legacy?: {
950
+ bookmark_count: number;
951
+ bookmarked: boolean;
952
+ created_at: string;
953
+ conversation_id_str: string;
954
+ display_text_range: number[];
955
+ entities: {
956
+ hashtags: {
957
+ indices: number[];
958
+ text: string;
959
+ }[];
960
+ media?: {
961
+ display_url: string;
962
+ expanded_url: string;
963
+ id_str: string;
964
+ indices: number[];
965
+ media_key: string;
966
+ media_url_https: string;
967
+ type: string;
968
+ url: string;
969
+ ext_media_availability: {
970
+ status: string;
953
971
  };
954
- };
955
- conversation_id_str: string;
956
- display_text_range: number[];
957
- entities: {
958
- hashtags: unknown[];
959
- media: {
960
- display_url: string;
961
- expanded_url: string;
962
- id_str: string;
963
- indices: number[];
964
- media_key: string;
965
- media_url_https: string;
966
- type: string;
967
- url: string;
968
- ext_media_availability: {
969
- status: string;
972
+ sizes: {
973
+ large: {
974
+ h: number;
975
+ w: number;
976
+ resize: string;
970
977
  };
971
- features: {
972
- large: {
973
- faces: {
974
- x: number;
975
- y: number;
976
- h: number;
977
- w: number;
978
- }[];
979
- };
980
- medium: {
981
- faces: {
982
- x: number;
983
- y: number;
984
- h: number;
985
- w: number;
986
- }[];
987
- };
988
- small: {
989
- faces: {
990
- x: number;
991
- y: number;
992
- h: number;
993
- w: number;
994
- }[];
995
- };
996
- orig: {
997
- faces: {
998
- x: number;
999
- y: number;
1000
- h: number;
1001
- w: number;
1002
- }[];
1003
- };
978
+ medium: {
979
+ h: number;
980
+ w: number;
981
+ resize: string;
1004
982
  };
1005
- sizes: {
1006
- large: {
1007
- h: number;
1008
- w: number;
1009
- resize: string;
1010
- };
1011
- medium: {
983
+ small: {
984
+ h: number;
985
+ w: number;
986
+ resize: string;
987
+ };
988
+ thumb: {
989
+ h: number;
990
+ w: number;
991
+ resize: string;
992
+ };
993
+ };
994
+ original_info: {
995
+ height: number;
996
+ width: number;
997
+ focus_rects: {
998
+ x: number;
999
+ y: number;
1000
+ w: number;
1001
+ h: number;
1002
+ }[];
1003
+ };
1004
+ allow_download_status?: {
1005
+ allow_download: boolean;
1006
+ };
1007
+ video_info?: {
1008
+ aspect_ratio: number[];
1009
+ variants: {
1010
+ bitrate?: number;
1011
+ content_type: string;
1012
+ url: string;
1013
+ }[];
1014
+ duration_millis?: number;
1015
+ };
1016
+ media_results: {
1017
+ result: {
1018
+ media_key: string;
1019
+ };
1020
+ };
1021
+ features?: {
1022
+ large: {
1023
+ faces: {
1024
+ x: number;
1025
+ y: number;
1012
1026
  h: number;
1013
1027
  w: number;
1014
- resize: string;
1015
- };
1016
- small: {
1028
+ }[];
1029
+ };
1030
+ medium: {
1031
+ faces: {
1032
+ x: number;
1033
+ y: number;
1017
1034
  h: number;
1018
1035
  w: number;
1019
- resize: string;
1020
- };
1021
- thumb: {
1036
+ }[];
1037
+ };
1038
+ small: {
1039
+ faces: {
1040
+ x: number;
1041
+ y: number;
1022
1042
  h: number;
1023
1043
  w: number;
1024
- resize: string;
1025
- };
1044
+ }[];
1026
1045
  };
1027
- original_info: {
1028
- height: number;
1029
- width: number;
1030
- focus_rects: {
1046
+ orig: {
1047
+ faces: {
1031
1048
  x: number;
1032
1049
  y: number;
1033
- w: number;
1034
1050
  h: number;
1051
+ w: number;
1035
1052
  }[];
1036
1053
  };
1037
- allow_download_status: {
1038
- allow_download: boolean;
1054
+ all?: {
1055
+ tags: {
1056
+ user_id: string;
1057
+ name: string;
1058
+ screen_name: string;
1059
+ type: string;
1060
+ }[];
1039
1061
  };
1040
- media_results: {
1041
- result: {
1042
- media_key: string;
1062
+ };
1063
+ additional_media_info?: {
1064
+ monetizable: boolean;
1065
+ source_user?: {
1066
+ user_results: {
1067
+ result: {
1068
+ __typename: string;
1069
+ id: string;
1070
+ rest_id: string;
1071
+ affiliates_highlighted_label: {};
1072
+ has_graduated_access: boolean;
1073
+ parody_commentary_fan_label: string;
1074
+ is_blue_verified: boolean;
1075
+ profile_image_shape: string;
1076
+ legacy: {
1077
+ following: boolean;
1078
+ can_dm: boolean;
1079
+ can_media_tag: boolean;
1080
+ created_at: string;
1081
+ default_profile: boolean;
1082
+ default_profile_image: boolean;
1083
+ description: string;
1084
+ entities: {
1085
+ description: {
1086
+ urls: unknown[];
1087
+ };
1088
+ url: {
1089
+ urls: {
1090
+ display_url: string;
1091
+ expanded_url: string;
1092
+ url: string;
1093
+ indices: number[];
1094
+ }[];
1095
+ };
1096
+ };
1097
+ fast_followers_count: number;
1098
+ favourites_count: number;
1099
+ followers_count: number;
1100
+ friends_count: number;
1101
+ has_custom_timelines: boolean;
1102
+ is_translator: boolean;
1103
+ listed_count: number;
1104
+ location: string;
1105
+ media_count: number;
1106
+ name: string;
1107
+ normal_followers_count: number;
1108
+ pinned_tweet_ids_str: unknown[];
1109
+ possibly_sensitive: boolean;
1110
+ profile_banner_url: string;
1111
+ profile_image_url_https: string;
1112
+ profile_interstitial_type: string;
1113
+ screen_name: string;
1114
+ statuses_count: number;
1115
+ translator_type: string;
1116
+ url: string;
1117
+ verified: boolean;
1118
+ want_retweets: boolean;
1119
+ withheld_in_countries: unknown[];
1120
+ };
1121
+ tipjar_settings: {
1122
+ is_enabled: boolean;
1123
+ };
1124
+ };
1043
1125
  };
1044
1126
  };
1045
- }[];
1046
- symbols: unknown[];
1047
- timestamps: unknown[];
1048
- urls: unknown[];
1049
- user_mentions: unknown[];
1050
- };
1051
- extended_entities: {
1052
- media: {
1053
- display_url: string;
1054
- expanded_url: string;
1055
- id_str: string;
1056
- indices: number[];
1057
- media_key: string;
1058
- media_url_https: string;
1059
- type: string;
1060
- url: string;
1061
- ext_media_availability: {
1062
- status: string;
1127
+ };
1128
+ ext_alt_text?: string;
1129
+ source_status_id_str?: string;
1130
+ source_user_id_str?: string;
1131
+ }[];
1132
+ symbols: {
1133
+ indices: number[];
1134
+ text: string;
1135
+ }[];
1136
+ timestamps: unknown[];
1137
+ urls: {
1138
+ display_url: string;
1139
+ expanded_url: string;
1140
+ url: string;
1141
+ indices: number[];
1142
+ }[];
1143
+ user_mentions: {
1144
+ id_str: string;
1145
+ name: string;
1146
+ screen_name: string;
1147
+ indices: number[];
1148
+ }[];
1149
+ };
1150
+ extended_entities?: {
1151
+ media: {
1152
+ display_url: string;
1153
+ expanded_url: string;
1154
+ id_str: string;
1155
+ indices: number[];
1156
+ media_key: string;
1157
+ media_url_https: string;
1158
+ type: string;
1159
+ url: string;
1160
+ ext_media_availability: {
1161
+ status: string;
1162
+ };
1163
+ sizes: {
1164
+ large: {
1165
+ h: number;
1166
+ w: number;
1167
+ resize: string;
1063
1168
  };
1064
- features: {
1065
- large: {
1066
- faces: {
1067
- x: number;
1068
- y: number;
1069
- h: number;
1070
- w: number;
1071
- }[];
1072
- };
1073
- medium: {
1074
- faces: {
1075
- x: number;
1076
- y: number;
1077
- h: number;
1078
- w: number;
1079
- }[];
1080
- };
1081
- small: {
1082
- faces: {
1083
- x: number;
1084
- y: number;
1085
- h: number;
1086
- w: number;
1087
- }[];
1088
- };
1089
- orig: {
1090
- faces: {
1091
- x: number;
1092
- y: number;
1093
- h: number;
1094
- w: number;
1095
- }[];
1096
- };
1169
+ medium: {
1170
+ h: number;
1171
+ w: number;
1172
+ resize: string;
1097
1173
  };
1098
- sizes: {
1099
- large: {
1174
+ small: {
1175
+ h: number;
1176
+ w: number;
1177
+ resize: string;
1178
+ };
1179
+ thumb: {
1180
+ h: number;
1181
+ w: number;
1182
+ resize: string;
1183
+ };
1184
+ };
1185
+ original_info: {
1186
+ height: number;
1187
+ width: number;
1188
+ focus_rects: {
1189
+ x: number;
1190
+ y: number;
1191
+ w: number;
1192
+ h: number;
1193
+ }[];
1194
+ };
1195
+ allow_download_status?: {
1196
+ allow_download: boolean;
1197
+ };
1198
+ video_info?: {
1199
+ aspect_ratio: number[];
1200
+ variants: {
1201
+ bitrate?: number;
1202
+ content_type: string;
1203
+ url: string;
1204
+ }[];
1205
+ duration_millis?: number;
1206
+ };
1207
+ media_results: {
1208
+ result: {
1209
+ media_key: string;
1210
+ };
1211
+ };
1212
+ features?: {
1213
+ large: {
1214
+ faces: {
1215
+ x: number;
1216
+ y: number;
1100
1217
  h: number;
1101
1218
  w: number;
1102
- resize: string;
1103
- };
1219
+ }[];
1220
+ };
1221
+ medium: {
1222
+ faces: {
1223
+ x: number;
1224
+ y: number;
1225
+ h: number;
1226
+ w: number;
1227
+ }[];
1228
+ };
1229
+ small: {
1230
+ faces: {
1231
+ x: number;
1232
+ y: number;
1233
+ h: number;
1234
+ w: number;
1235
+ }[];
1236
+ };
1237
+ orig: {
1238
+ faces: {
1239
+ x: number;
1240
+ y: number;
1241
+ h: number;
1242
+ w: number;
1243
+ }[];
1244
+ };
1245
+ all?: {
1246
+ tags: {
1247
+ user_id: string;
1248
+ name: string;
1249
+ screen_name: string;
1250
+ type: string;
1251
+ }[];
1252
+ };
1253
+ };
1254
+ additional_media_info?: {
1255
+ monetizable: boolean;
1256
+ source_user?: {
1257
+ user_results: {
1258
+ result: {
1259
+ __typename: string;
1260
+ id: string;
1261
+ rest_id: string;
1262
+ affiliates_highlighted_label: {};
1263
+ has_graduated_access: boolean;
1264
+ parody_commentary_fan_label: string;
1265
+ is_blue_verified: boolean;
1266
+ profile_image_shape: string;
1267
+ legacy: {
1268
+ following: boolean;
1269
+ can_dm: boolean;
1270
+ can_media_tag: boolean;
1271
+ created_at: string;
1272
+ default_profile: boolean;
1273
+ default_profile_image: boolean;
1274
+ description: string;
1275
+ entities: {
1276
+ description: {
1277
+ urls: unknown[];
1278
+ };
1279
+ url: {
1280
+ urls: {
1281
+ display_url: string;
1282
+ expanded_url: string;
1283
+ url: string;
1284
+ indices: number[];
1285
+ }[];
1286
+ };
1287
+ };
1288
+ fast_followers_count: number;
1289
+ favourites_count: number;
1290
+ followers_count: number;
1291
+ friends_count: number;
1292
+ has_custom_timelines: boolean;
1293
+ is_translator: boolean;
1294
+ listed_count: number;
1295
+ location: string;
1296
+ media_count: number;
1297
+ name: string;
1298
+ normal_followers_count: number;
1299
+ pinned_tweet_ids_str: unknown[];
1300
+ possibly_sensitive: boolean;
1301
+ profile_banner_url: string;
1302
+ profile_image_url_https: string;
1303
+ profile_interstitial_type: string;
1304
+ screen_name: string;
1305
+ statuses_count: number;
1306
+ translator_type: string;
1307
+ url: string;
1308
+ verified: boolean;
1309
+ want_retweets: boolean;
1310
+ withheld_in_countries: unknown[];
1311
+ };
1312
+ tipjar_settings: {
1313
+ is_enabled: boolean;
1314
+ };
1315
+ };
1316
+ };
1317
+ };
1318
+ };
1319
+ ext_alt_text?: string;
1320
+ source_status_id_str?: string;
1321
+ source_user_id_str?: string;
1322
+ }[];
1323
+ };
1324
+ favorite_count: number;
1325
+ favorited: boolean;
1326
+ full_text: string;
1327
+ is_quote_status: boolean;
1328
+ lang: string;
1329
+ possibly_sensitive?: boolean;
1330
+ possibly_sensitive_editable?: boolean;
1331
+ quote_count: number;
1332
+ reply_count: number;
1333
+ retweet_count: number;
1334
+ retweeted: boolean;
1335
+ user_id_str: string;
1336
+ id_str: string;
1337
+ quoted_status_id_str?: string;
1338
+ quoted_status_permalink?: {
1339
+ url: string;
1340
+ expanded: string;
1341
+ display: string;
1342
+ };
1343
+ in_reply_to_screen_name?: string;
1344
+ in_reply_to_status_id_str?: string;
1345
+ in_reply_to_user_id_str?: string;
1346
+ };
1347
+ tweet?: {
1348
+ rest_id: string;
1349
+ core: {
1350
+ user_results: {
1351
+ result: {
1352
+ __typename: string;
1353
+ id: string;
1354
+ rest_id: string;
1355
+ affiliates_highlighted_label: {};
1356
+ has_graduated_access: boolean;
1357
+ parody_commentary_fan_label: string;
1358
+ is_blue_verified: boolean;
1359
+ profile_image_shape: string;
1360
+ legacy: {
1361
+ following: boolean;
1362
+ can_dm: boolean;
1363
+ can_media_tag: boolean;
1364
+ created_at: string;
1365
+ default_profile: boolean;
1366
+ default_profile_image: boolean;
1367
+ description: string;
1368
+ entities: {
1369
+ description: {
1370
+ urls: unknown[];
1371
+ };
1372
+ url: {
1373
+ urls: {
1374
+ display_url: string;
1375
+ expanded_url: string;
1376
+ url: string;
1377
+ indices: number[];
1378
+ }[];
1379
+ };
1380
+ };
1381
+ fast_followers_count: number;
1382
+ favourites_count: number;
1383
+ followers_count: number;
1384
+ friends_count: number;
1385
+ has_custom_timelines: boolean;
1386
+ is_translator: boolean;
1387
+ listed_count: number;
1388
+ location: string;
1389
+ media_count: number;
1390
+ name: string;
1391
+ normal_followers_count: number;
1392
+ pinned_tweet_ids_str: string[];
1393
+ possibly_sensitive: boolean;
1394
+ profile_banner_url: string;
1395
+ profile_image_url_https: string;
1396
+ profile_interstitial_type: string;
1397
+ screen_name: string;
1398
+ statuses_count: number;
1399
+ translator_type: string;
1400
+ url: string;
1401
+ verified: boolean;
1402
+ want_retweets: boolean;
1403
+ withheld_in_countries: unknown[];
1404
+ };
1405
+ professional: {
1406
+ rest_id: string;
1407
+ professional_type: string;
1408
+ category: unknown[];
1409
+ };
1410
+ tipjar_settings: {};
1411
+ };
1412
+ };
1413
+ };
1414
+ unmention_data: {};
1415
+ edit_control: {
1416
+ edit_tweet_ids: string[];
1417
+ editable_until_msecs: string;
1418
+ is_edit_eligible: boolean;
1419
+ edits_remaining: string;
1420
+ };
1421
+ is_translatable: boolean;
1422
+ views: {
1423
+ count: string;
1424
+ state: string;
1425
+ };
1426
+ source: string;
1427
+ legacy: {
1428
+ bookmark_count: number;
1429
+ bookmarked: boolean;
1430
+ created_at: string;
1431
+ conversation_control: {
1432
+ policy: string;
1433
+ conversation_owner_results: {
1434
+ result: {
1435
+ __typename: string;
1436
+ legacy: {
1437
+ screen_name: string;
1438
+ };
1439
+ };
1440
+ };
1441
+ };
1442
+ conversation_id_str: string;
1443
+ display_text_range: number[];
1444
+ entities: {
1445
+ hashtags: unknown[];
1446
+ media: {
1447
+ display_url: string;
1448
+ expanded_url: string;
1449
+ id_str: string;
1450
+ indices: number[];
1451
+ media_key: string;
1452
+ media_url_https: string;
1453
+ type: string;
1454
+ url: string;
1455
+ ext_media_availability: {
1456
+ status: string;
1457
+ };
1458
+ features: {
1459
+ large: {
1460
+ faces: {
1461
+ x: number;
1462
+ y: number;
1463
+ h: number;
1464
+ w: number;
1465
+ }[];
1466
+ };
1467
+ medium: {
1468
+ faces: {
1469
+ x: number;
1470
+ y: number;
1471
+ h: number;
1472
+ w: number;
1473
+ }[];
1474
+ };
1475
+ small: {
1476
+ faces: {
1477
+ x: number;
1478
+ y: number;
1479
+ h: number;
1480
+ w: number;
1481
+ }[];
1482
+ };
1483
+ orig: {
1484
+ faces: {
1485
+ x: number;
1486
+ y: number;
1487
+ h: number;
1488
+ w: number;
1489
+ }[];
1490
+ };
1491
+ };
1492
+ sizes: {
1493
+ large: {
1494
+ h: number;
1495
+ w: number;
1496
+ resize: string;
1497
+ };
1104
1498
  medium: {
1105
1499
  h: number;
1106
1500
  w: number;
@@ -1127,227 +1521,1556 @@ export interface CustomSearchTimelineEntry {
1127
1521
  h: number;
1128
1522
  }[];
1129
1523
  };
1130
- allow_download_status: {
1131
- allow_download: boolean;
1524
+ allow_download_status: {
1525
+ allow_download: boolean;
1526
+ };
1527
+ media_results: {
1528
+ result: {
1529
+ media_key: string;
1530
+ };
1531
+ };
1532
+ }[];
1533
+ symbols: unknown[];
1534
+ timestamps: unknown[];
1535
+ urls: unknown[];
1536
+ user_mentions: unknown[];
1537
+ };
1538
+ extended_entities: {
1539
+ media: {
1540
+ display_url: string;
1541
+ expanded_url: string;
1542
+ id_str: string;
1543
+ indices: number[];
1544
+ media_key: string;
1545
+ media_url_https: string;
1546
+ type: string;
1547
+ url: string;
1548
+ ext_media_availability: {
1549
+ status: string;
1550
+ };
1551
+ features: {
1552
+ large: {
1553
+ faces: {
1554
+ x: number;
1555
+ y: number;
1556
+ h: number;
1557
+ w: number;
1558
+ }[];
1559
+ };
1560
+ medium: {
1561
+ faces: {
1562
+ x: number;
1563
+ y: number;
1564
+ h: number;
1565
+ w: number;
1566
+ }[];
1567
+ };
1568
+ small: {
1569
+ faces: {
1570
+ x: number;
1571
+ y: number;
1572
+ h: number;
1573
+ w: number;
1574
+ }[];
1575
+ };
1576
+ orig: {
1577
+ faces: {
1578
+ x: number;
1579
+ y: number;
1580
+ h: number;
1581
+ w: number;
1582
+ }[];
1583
+ };
1584
+ };
1585
+ sizes: {
1586
+ large: {
1587
+ h: number;
1588
+ w: number;
1589
+ resize: string;
1590
+ };
1591
+ medium: {
1592
+ h: number;
1593
+ w: number;
1594
+ resize: string;
1595
+ };
1596
+ small: {
1597
+ h: number;
1598
+ w: number;
1599
+ resize: string;
1600
+ };
1601
+ thumb: {
1602
+ h: number;
1603
+ w: number;
1604
+ resize: string;
1605
+ };
1606
+ };
1607
+ original_info: {
1608
+ height: number;
1609
+ width: number;
1610
+ focus_rects: {
1611
+ x: number;
1612
+ y: number;
1613
+ w: number;
1614
+ h: number;
1615
+ }[];
1616
+ };
1617
+ allow_download_status: {
1618
+ allow_download: boolean;
1619
+ };
1620
+ media_results: {
1621
+ result: {
1622
+ media_key: string;
1623
+ };
1624
+ };
1625
+ }[];
1626
+ };
1627
+ favorite_count: number;
1628
+ favorited: boolean;
1629
+ full_text: string;
1630
+ is_quote_status: boolean;
1631
+ lang: string;
1632
+ possibly_sensitive: boolean;
1633
+ possibly_sensitive_editable: boolean;
1634
+ quote_count: number;
1635
+ reply_count: number;
1636
+ retweet_count: number;
1637
+ retweeted: boolean;
1638
+ user_id_str: string;
1639
+ id_str: string;
1640
+ };
1641
+ };
1642
+ limitedActionResults?: {
1643
+ limited_actions: {
1644
+ action: string;
1645
+ prompt: {
1646
+ __typename: string;
1647
+ cta_type: string;
1648
+ headline: {
1649
+ text: string;
1650
+ entities: unknown[];
1651
+ };
1652
+ subtext: {
1653
+ text: string;
1654
+ entities: unknown[];
1655
+ };
1656
+ };
1657
+ }[];
1658
+ };
1659
+ note_tweet?: {
1660
+ is_expandable: boolean;
1661
+ note_tweet_results: {
1662
+ result: {
1663
+ id: string;
1664
+ text: string;
1665
+ entity_set: {
1666
+ hashtags: {
1667
+ indices: number[];
1668
+ text: string;
1669
+ }[];
1670
+ symbols: unknown[];
1671
+ urls: {
1672
+ display_url: string;
1673
+ expanded_url: string;
1674
+ url: string;
1675
+ indices: number[];
1676
+ }[];
1677
+ user_mentions: unknown[];
1678
+ timestamps?: unknown[];
1679
+ };
1680
+ richtext?: {
1681
+ richtext_tags: {
1682
+ from_index: number;
1683
+ to_index: number;
1684
+ richtext_types: string[];
1685
+ }[];
1686
+ };
1687
+ media?: {
1688
+ inline_media: unknown[];
1689
+ };
1690
+ };
1691
+ };
1692
+ };
1693
+ quotedRefResult?: {
1694
+ result: {
1695
+ __typename: string;
1696
+ rest_id: string;
1697
+ };
1698
+ };
1699
+ card?: {
1700
+ rest_id: string;
1701
+ legacy: {
1702
+ binding_values: {
1703
+ key: string;
1704
+ value: {
1705
+ image_value?: {
1706
+ height: number;
1707
+ width: number;
1708
+ url: string;
1709
+ alt?: string;
1710
+ };
1711
+ type: string;
1712
+ string_value?: string;
1713
+ scribe_key?: string;
1714
+ user_value?: {
1715
+ id_str: string;
1716
+ path: unknown[];
1717
+ };
1718
+ image_color_value?: {
1719
+ palette: {
1720
+ rgb: {
1721
+ blue: number;
1722
+ green: number;
1723
+ red: number;
1724
+ };
1725
+ percentage: number;
1726
+ }[];
1727
+ };
1728
+ };
1729
+ }[];
1730
+ card_platform: {
1731
+ platform: {
1732
+ audience: {
1733
+ name: string;
1734
+ };
1735
+ device: {
1736
+ name: string;
1737
+ version: string;
1738
+ };
1739
+ };
1740
+ };
1741
+ name: string;
1742
+ url: string;
1743
+ user_refs_results: {
1744
+ result: {
1745
+ __typename: string;
1746
+ id: string;
1747
+ rest_id: string;
1748
+ affiliates_highlighted_label: {};
1749
+ has_graduated_access: boolean;
1750
+ parody_commentary_fan_label: string;
1751
+ is_blue_verified: boolean;
1752
+ profile_image_shape: string;
1753
+ legacy: {
1754
+ following: boolean;
1755
+ can_dm: boolean;
1756
+ can_media_tag: boolean;
1757
+ created_at: string;
1758
+ default_profile: boolean;
1759
+ default_profile_image: boolean;
1760
+ description: string;
1761
+ entities: {
1762
+ description: {
1763
+ urls: unknown[];
1764
+ };
1765
+ url: {
1766
+ urls: {
1767
+ display_url: string;
1768
+ expanded_url: string;
1769
+ url: string;
1770
+ indices: number[];
1771
+ }[];
1772
+ };
1773
+ };
1774
+ fast_followers_count: number;
1775
+ favourites_count: number;
1776
+ followers_count: number;
1777
+ friends_count: number;
1778
+ has_custom_timelines: boolean;
1779
+ is_translator: boolean;
1780
+ listed_count: number;
1781
+ location: string;
1782
+ media_count: number;
1783
+ name: string;
1784
+ normal_followers_count: number;
1785
+ pinned_tweet_ids_str: string[];
1786
+ possibly_sensitive: boolean;
1787
+ profile_banner_url: string;
1788
+ profile_image_url_https: string;
1789
+ profile_interstitial_type: string;
1790
+ screen_name: string;
1791
+ statuses_count: number;
1792
+ translator_type: string;
1793
+ url: string;
1794
+ verified: boolean;
1795
+ verified_type?: string;
1796
+ want_retweets: boolean;
1797
+ withheld_in_countries: unknown[];
1798
+ };
1799
+ tipjar_settings: {
1800
+ is_enabled?: boolean;
1801
+ };
1802
+ professional?: {
1803
+ rest_id: string;
1804
+ professional_type: string;
1805
+ category: {
1806
+ id: number;
1807
+ name: string;
1808
+ icon_name: string;
1809
+ }[];
1810
+ };
1811
+ };
1812
+ }[];
1813
+ };
1814
+ };
1815
+ previous_counts?: {
1816
+ bookmark_count: number;
1817
+ favorite_count: number;
1818
+ quote_count: number;
1819
+ reply_count: number;
1820
+ retweet_count: number;
1821
+ };
1822
+ };
1823
+ };
1824
+ card?: {
1825
+ rest_id: string;
1826
+ legacy: {
1827
+ binding_values: {
1828
+ key: string;
1829
+ value: {
1830
+ string_value?: string;
1831
+ type: string;
1832
+ scribe_key?: string;
1833
+ image_value?: {
1834
+ height: number;
1835
+ width: number;
1836
+ url: string;
1837
+ alt?: string;
1838
+ };
1839
+ user_value?: {
1840
+ id_str: string;
1841
+ path: unknown[];
1842
+ };
1843
+ image_color_value?: {
1844
+ palette: {
1845
+ rgb: {
1846
+ blue: number;
1847
+ green: number;
1848
+ red: number;
1849
+ };
1850
+ percentage: number;
1851
+ }[];
1852
+ };
1853
+ };
1854
+ }[];
1855
+ card_platform: {
1856
+ platform: {
1857
+ audience: {
1858
+ name: string;
1859
+ };
1860
+ device: {
1861
+ name: string;
1862
+ version: string;
1863
+ };
1864
+ };
1865
+ };
1866
+ name: string;
1867
+ url: string;
1868
+ user_refs_results: {
1869
+ result: {
1870
+ __typename: string;
1871
+ id?: string;
1872
+ rest_id?: string;
1873
+ affiliates_highlighted_label?: {
1874
+ label?: {
1875
+ url: {
1876
+ url: string;
1877
+ urlType: string;
1878
+ };
1879
+ badge: {
1880
+ url: string;
1881
+ };
1882
+ description: string;
1883
+ userLabelType: string;
1884
+ userLabelDisplayType: string;
1885
+ };
1886
+ };
1887
+ has_graduated_access?: boolean;
1888
+ parody_commentary_fan_label?: string;
1889
+ is_blue_verified?: boolean;
1890
+ profile_image_shape?: string;
1891
+ legacy?: {
1892
+ following: boolean;
1893
+ can_dm: boolean;
1894
+ can_media_tag: boolean;
1895
+ created_at: string;
1896
+ default_profile: boolean;
1897
+ default_profile_image: boolean;
1898
+ description: string;
1899
+ entities: {
1900
+ description: {
1901
+ urls: {
1902
+ display_url: string;
1903
+ expanded_url: string;
1904
+ url: string;
1905
+ indices: number[];
1906
+ }[];
1907
+ };
1908
+ url?: {
1909
+ urls: {
1910
+ display_url?: string;
1911
+ expanded_url?: string;
1912
+ url: string;
1913
+ indices: number[];
1914
+ }[];
1915
+ };
1916
+ };
1917
+ fast_followers_count: number;
1918
+ favourites_count: number;
1919
+ followers_count: number;
1920
+ friends_count: number;
1921
+ has_custom_timelines: boolean;
1922
+ is_translator: boolean;
1923
+ listed_count: number;
1924
+ location: string;
1925
+ media_count: number;
1926
+ name: string;
1927
+ normal_followers_count: number;
1928
+ pinned_tweet_ids_str: string[];
1929
+ possibly_sensitive: boolean;
1930
+ profile_banner_url?: string;
1931
+ profile_image_url_https: string;
1932
+ profile_interstitial_type: string;
1933
+ screen_name: string;
1934
+ statuses_count: number;
1935
+ translator_type: string;
1936
+ url?: string;
1937
+ verified: boolean;
1938
+ verified_type?: string;
1939
+ want_retweets: boolean;
1940
+ withheld_in_countries: unknown[];
1941
+ blocking?: boolean;
1942
+ protected?: boolean;
1943
+ };
1944
+ professional?: {
1945
+ rest_id: string;
1946
+ professional_type: string;
1947
+ category: {
1948
+ id: number;
1949
+ name: string;
1950
+ icon_name: string;
1951
+ }[];
1952
+ };
1953
+ tipjar_settings?: {
1954
+ is_enabled?: boolean;
1955
+ };
1956
+ message?: string;
1957
+ reason?: string;
1958
+ };
1959
+ }[];
1960
+ };
1961
+ };
1962
+ note_tweet?: {
1963
+ is_expandable: boolean;
1964
+ note_tweet_results: {
1965
+ result: {
1966
+ id: string;
1967
+ text: string;
1968
+ entity_set?: {
1969
+ hashtags: {
1970
+ indices: number[];
1971
+ text: string;
1972
+ }[];
1973
+ symbols: {
1974
+ indices: number[];
1975
+ text: string;
1976
+ }[];
1977
+ urls: {
1978
+ display_url: string;
1979
+ expanded_url: string;
1980
+ url: string;
1981
+ indices: number[];
1982
+ }[];
1983
+ user_mentions: {
1984
+ id_str: string;
1985
+ name: string;
1986
+ screen_name: string;
1987
+ indices: number[];
1988
+ }[];
1989
+ timestamps?: unknown[];
1990
+ };
1991
+ richtext?: {
1992
+ richtext_tags: {
1993
+ from_index: number;
1994
+ to_index: number;
1995
+ richtext_types: string[];
1996
+ }[];
1997
+ };
1998
+ media?: {
1999
+ inline_media: unknown[];
2000
+ };
2001
+ };
2002
+ };
2003
+ };
2004
+ community_results?: {
2005
+ result: {
2006
+ __typename: string;
2007
+ id_str: string;
2008
+ viewer_relationship: {
2009
+ moderation_state: {
2010
+ __typename: string;
2011
+ };
2012
+ };
2013
+ };
2014
+ };
2015
+ author_community_relationship?: {
2016
+ community_results: {
2017
+ result: {
2018
+ __typename: string;
2019
+ id_str: string;
2020
+ name: string;
2021
+ description?: string;
2022
+ created_at: number;
2023
+ question?: string;
2024
+ search_tags: string[];
2025
+ is_nsfw: boolean;
2026
+ primary_community_topic?: {
2027
+ topic_id: string;
2028
+ topic_name: string;
2029
+ };
2030
+ actions: {
2031
+ delete_action_result: {
2032
+ __typename: string;
2033
+ reason: string;
2034
+ };
2035
+ join_action_result: {
2036
+ __typename: string;
2037
+ reason?: string;
2038
+ message?: string;
2039
+ };
2040
+ leave_action_result: {
2041
+ __typename: string;
2042
+ reason?: string;
2043
+ message?: string;
2044
+ };
2045
+ pin_action_result: {
2046
+ __typename: string;
2047
+ };
2048
+ };
2049
+ admin_results: {
2050
+ result: {
2051
+ __typename: string;
2052
+ id: string;
2053
+ rest_id: string;
2054
+ affiliates_highlighted_label: {};
2055
+ has_graduated_access: boolean;
2056
+ parody_commentary_fan_label: string;
2057
+ is_blue_verified: boolean;
2058
+ profile_image_shape: string;
2059
+ legacy: {
2060
+ following: boolean;
2061
+ can_dm: boolean;
2062
+ can_media_tag: boolean;
2063
+ created_at: string;
2064
+ default_profile: boolean;
2065
+ default_profile_image: boolean;
2066
+ description: string;
2067
+ entities: {
2068
+ description: {
2069
+ urls: {
2070
+ display_url: string;
2071
+ expanded_url: string;
2072
+ url: string;
2073
+ indices: number[];
2074
+ }[];
2075
+ };
2076
+ url?: {
2077
+ urls: {
2078
+ display_url: string;
2079
+ expanded_url: string;
2080
+ url: string;
2081
+ indices: number[];
2082
+ }[];
2083
+ };
2084
+ };
2085
+ fast_followers_count: number;
2086
+ favourites_count: number;
2087
+ followers_count: number;
2088
+ friends_count: number;
2089
+ has_custom_timelines: boolean;
2090
+ is_translator: boolean;
2091
+ listed_count: number;
2092
+ location: string;
2093
+ media_count: number;
2094
+ name: string;
2095
+ normal_followers_count: number;
2096
+ pinned_tweet_ids_str: string[];
2097
+ possibly_sensitive: boolean;
2098
+ profile_banner_url: string;
2099
+ profile_image_url_https: string;
2100
+ profile_interstitial_type: string;
2101
+ screen_name: string;
2102
+ statuses_count: number;
2103
+ translator_type: string;
2104
+ url?: string;
2105
+ verified: boolean;
2106
+ want_retweets: boolean;
2107
+ withheld_in_countries: string[];
2108
+ blocking?: boolean;
2109
+ verified_type?: string;
2110
+ protected?: boolean;
2111
+ };
2112
+ tipjar_settings: {
2113
+ is_enabled?: boolean;
2114
+ gofundme_handle?: string;
2115
+ bitcoin_handle?: string;
2116
+ cash_app_handle?: string;
2117
+ patreon_handle?: string;
2118
+ ethereum_handle?: string;
2119
+ };
2120
+ professional?: {
2121
+ rest_id: string;
2122
+ professional_type: string;
2123
+ category: {
2124
+ id: number;
2125
+ name: string;
2126
+ icon_name: string;
2127
+ }[];
2128
+ };
2129
+ super_follow_eligible?: boolean;
2130
+ };
2131
+ };
2132
+ creator_results: {
2133
+ result: {
2134
+ __typename: string;
2135
+ id: string;
2136
+ rest_id: string;
2137
+ affiliates_highlighted_label: {};
2138
+ has_graduated_access: boolean;
2139
+ parody_commentary_fan_label: string;
2140
+ is_blue_verified: boolean;
2141
+ profile_image_shape: string;
2142
+ legacy: {
2143
+ following: boolean;
2144
+ can_dm: boolean;
2145
+ can_media_tag: boolean;
2146
+ created_at: string;
2147
+ default_profile: boolean;
2148
+ default_profile_image: boolean;
2149
+ description: string;
2150
+ entities: {
2151
+ description: {
2152
+ urls: {
2153
+ display_url: string;
2154
+ expanded_url: string;
2155
+ url: string;
2156
+ indices: number[];
2157
+ }[];
2158
+ };
2159
+ url?: {
2160
+ urls: {
2161
+ display_url: string;
2162
+ expanded_url: string;
2163
+ url: string;
2164
+ indices: number[];
2165
+ }[];
2166
+ };
2167
+ };
2168
+ fast_followers_count: number;
2169
+ favourites_count: number;
2170
+ followers_count: number;
2171
+ friends_count: number;
2172
+ has_custom_timelines: boolean;
2173
+ is_translator: boolean;
2174
+ listed_count: number;
2175
+ location: string;
2176
+ media_count: number;
2177
+ name: string;
2178
+ normal_followers_count: number;
2179
+ pinned_tweet_ids_str: string[];
2180
+ possibly_sensitive: boolean;
2181
+ profile_banner_url: string;
2182
+ profile_image_url_https: string;
2183
+ profile_interstitial_type: string;
2184
+ screen_name: string;
2185
+ statuses_count: number;
2186
+ translator_type: string;
2187
+ url?: string;
2188
+ verified: boolean;
2189
+ want_retweets: boolean;
2190
+ withheld_in_countries: string[];
2191
+ blocking?: boolean;
2192
+ verified_type?: string;
2193
+ protected?: boolean;
2194
+ };
2195
+ tipjar_settings: {
2196
+ is_enabled?: boolean;
2197
+ gofundme_handle?: string;
2198
+ bitcoin_handle?: string;
2199
+ cash_app_handle?: string;
2200
+ patreon_handle?: string;
2201
+ ethereum_handle?: string;
2202
+ };
2203
+ professional?: {
2204
+ rest_id: string;
2205
+ professional_type: string;
2206
+ category: {
2207
+ id: number;
2208
+ name: string;
2209
+ icon_name: string;
2210
+ }[];
2211
+ };
2212
+ super_follow_eligible?: boolean;
2213
+ };
2214
+ };
2215
+ invites_result: {
2216
+ __typename: string;
2217
+ reason?: string;
2218
+ message?: string;
2219
+ remaining_invite_count?: number;
2220
+ users_to_invite_slice?: {
2221
+ items: unknown[];
2222
+ slice_info: {};
2223
+ };
2224
+ };
2225
+ join_policy: string;
2226
+ invites_policy: string;
2227
+ is_pinned: boolean;
2228
+ members_facepile_results: {
2229
+ result: {
2230
+ __typename: string;
2231
+ id: string;
2232
+ rest_id: string;
2233
+ affiliates_highlighted_label: {
2234
+ label?: {
2235
+ url: {
2236
+ url: string;
2237
+ urlType: string;
2238
+ };
2239
+ badge: {
2240
+ url: string;
2241
+ };
2242
+ description: string;
2243
+ userLabelType: string;
2244
+ userLabelDisplayType: string;
2245
+ };
2246
+ };
2247
+ has_graduated_access: boolean;
2248
+ parody_commentary_fan_label: string;
2249
+ is_blue_verified: boolean;
2250
+ profile_image_shape: string;
2251
+ legacy: {
2252
+ following: boolean;
2253
+ can_dm: boolean;
2254
+ can_media_tag: boolean;
2255
+ created_at: string;
2256
+ default_profile: boolean;
2257
+ default_profile_image: boolean;
2258
+ description: string;
2259
+ entities: {
2260
+ description: {
2261
+ urls: {
2262
+ display_url: string;
2263
+ expanded_url: string;
2264
+ url: string;
2265
+ indices: number[];
2266
+ }[];
2267
+ };
2268
+ url?: {
2269
+ urls: {
2270
+ display_url: string;
2271
+ expanded_url: string;
2272
+ url: string;
2273
+ indices: number[];
2274
+ }[];
2275
+ };
2276
+ };
2277
+ fast_followers_count: number;
2278
+ favourites_count: number;
2279
+ followers_count: number;
2280
+ friends_count: number;
2281
+ has_custom_timelines: boolean;
2282
+ is_translator: boolean;
2283
+ listed_count: number;
2284
+ location: string;
2285
+ media_count: number;
2286
+ name: string;
2287
+ normal_followers_count: number;
2288
+ pinned_tweet_ids_str: string[];
2289
+ possibly_sensitive: boolean;
2290
+ profile_banner_url?: string;
2291
+ profile_image_url_https: string;
2292
+ profile_interstitial_type: string;
2293
+ screen_name: string;
2294
+ statuses_count: number;
2295
+ translator_type: string;
2296
+ url?: string;
2297
+ verified: boolean;
2298
+ want_retweets: boolean;
2299
+ withheld_in_countries: string[];
2300
+ protected?: boolean;
2301
+ blocking?: boolean;
2302
+ verified_type?: string;
2303
+ };
2304
+ tipjar_settings: {
2305
+ is_enabled?: boolean;
2306
+ gofundme_handle?: string;
2307
+ bitcoin_handle?: string;
2308
+ ethereum_handle?: string;
2309
+ cash_app_handle?: string;
2310
+ patreon_handle?: string;
2311
+ };
2312
+ professional?: {
2313
+ rest_id: string;
2314
+ professional_type: string;
2315
+ category: {
2316
+ id: number;
2317
+ name: string;
2318
+ icon_name: string;
2319
+ }[];
2320
+ };
2321
+ super_follow_eligible?: boolean;
2322
+ };
2323
+ }[];
2324
+ moderator_count: number;
2325
+ member_count: number;
2326
+ role: string;
2327
+ rules: {
2328
+ rest_id: string;
2329
+ name: string;
2330
+ description?: string;
2331
+ }[];
2332
+ custom_banner_media?: {
2333
+ media_info: {
2334
+ color_info: {
2335
+ palette: {
2336
+ rgb: {
2337
+ red: number;
2338
+ green: number;
2339
+ blue: number;
2340
+ };
2341
+ percentage: number;
2342
+ }[];
2343
+ };
2344
+ original_img_url: string;
2345
+ original_img_width: number;
2346
+ original_img_height: number;
2347
+ salient_rect: {
2348
+ left: number;
2349
+ top: number;
2350
+ width: number;
2351
+ height: number;
2352
+ };
2353
+ };
2354
+ };
2355
+ default_banner_media: {
2356
+ media_info: {
2357
+ color_info: {
2358
+ palette: {
2359
+ rgb: {
2360
+ red: number;
2361
+ green: number;
2362
+ blue: number;
2363
+ };
2364
+ percentage: number;
2365
+ }[];
2366
+ };
2367
+ original_img_url: string;
2368
+ original_img_width: number;
2369
+ original_img_height: number;
2370
+ };
2371
+ };
2372
+ viewer_relationship: {
2373
+ moderation_state: {
2374
+ __typename: string;
2375
+ };
2376
+ };
2377
+ join_requests_result: {
2378
+ __typename: string;
2379
+ };
2380
+ };
2381
+ };
2382
+ role: string;
2383
+ user_results: {
2384
+ result: {
2385
+ __typename: string;
2386
+ id: string;
2387
+ rest_id: string;
2388
+ affiliates_highlighted_label: {};
2389
+ has_graduated_access: boolean;
2390
+ parody_commentary_fan_label: string;
2391
+ is_blue_verified: boolean;
2392
+ profile_image_shape: string;
2393
+ legacy: {
2394
+ following: boolean;
2395
+ can_dm: boolean;
2396
+ can_media_tag: boolean;
2397
+ created_at: string;
2398
+ default_profile: boolean;
2399
+ default_profile_image: boolean;
2400
+ description: string;
2401
+ entities: {
2402
+ description: {
2403
+ urls: {
2404
+ display_url: string;
2405
+ expanded_url: string;
2406
+ url: string;
2407
+ indices: number[];
2408
+ }[];
2409
+ };
2410
+ url?: {
2411
+ urls: {
2412
+ display_url: string;
2413
+ expanded_url: string;
2414
+ url: string;
2415
+ indices: number[];
2416
+ }[];
2417
+ };
2418
+ };
2419
+ fast_followers_count: number;
2420
+ favourites_count: number;
2421
+ followers_count: number;
2422
+ friends_count: number;
2423
+ has_custom_timelines: boolean;
2424
+ is_translator: boolean;
2425
+ listed_count: number;
2426
+ location: string;
2427
+ media_count: number;
2428
+ name: string;
2429
+ normal_followers_count: number;
2430
+ pinned_tweet_ids_str: string[];
2431
+ possibly_sensitive: boolean;
2432
+ profile_banner_url?: string;
2433
+ profile_image_url_https: string;
2434
+ profile_interstitial_type: string;
2435
+ screen_name: string;
2436
+ statuses_count: number;
2437
+ translator_type: string;
2438
+ verified: boolean;
2439
+ want_retweets: boolean;
2440
+ withheld_in_countries: unknown[];
2441
+ url?: string;
2442
+ };
2443
+ tipjar_settings: {
2444
+ is_enabled?: boolean;
2445
+ bitcoin_handle?: string;
2446
+ ethereum_handle?: string;
2447
+ };
2448
+ professional?: {
2449
+ rest_id: string;
2450
+ professional_type: string;
2451
+ category: {
2452
+ id: number;
2453
+ name: string;
2454
+ icon_name: string;
2455
+ }[];
2456
+ };
2457
+ };
2458
+ };
2459
+ };
2460
+ tweet?: {
2461
+ rest_id: string;
2462
+ core: {
2463
+ user_results: {
2464
+ result: {
2465
+ __typename: string;
2466
+ id: string;
2467
+ rest_id: string;
2468
+ affiliates_highlighted_label: {
2469
+ label?: {
2470
+ badge: {
2471
+ url: string;
2472
+ };
2473
+ description: string;
2474
+ longDescription: {
2475
+ text: string;
2476
+ entities: {
2477
+ fromIndex: number;
2478
+ toIndex: number;
2479
+ ref: {
2480
+ type: string;
2481
+ screen_name: string;
2482
+ mention_results: {
2483
+ result: {
2484
+ __typename: string;
2485
+ legacy: {
2486
+ screen_name: string;
2487
+ };
2488
+ rest_id: string;
2489
+ };
2490
+ };
2491
+ };
2492
+ }[];
2493
+ };
2494
+ userLabelType: string;
2495
+ };
2496
+ };
2497
+ has_graduated_access: boolean;
2498
+ parody_commentary_fan_label: string;
2499
+ is_blue_verified: boolean;
2500
+ profile_image_shape: string;
2501
+ legacy: {
2502
+ following: boolean;
2503
+ can_dm: boolean;
2504
+ can_media_tag: boolean;
2505
+ created_at: string;
2506
+ default_profile: boolean;
2507
+ default_profile_image: boolean;
2508
+ description: string;
2509
+ entities: {
2510
+ description: {
2511
+ urls: {
2512
+ display_url: string;
2513
+ expanded_url: string;
2514
+ url: string;
2515
+ indices: number[];
2516
+ }[];
1132
2517
  };
1133
- media_results: {
1134
- result: {
1135
- media_key: string;
1136
- };
2518
+ url?: {
2519
+ urls: {
2520
+ display_url: string;
2521
+ expanded_url: string;
2522
+ url: string;
2523
+ indices: number[];
2524
+ }[];
1137
2525
  };
2526
+ };
2527
+ fast_followers_count: number;
2528
+ favourites_count: number;
2529
+ followers_count: number;
2530
+ friends_count: number;
2531
+ has_custom_timelines: boolean;
2532
+ is_translator: boolean;
2533
+ listed_count: number;
2534
+ location: string;
2535
+ media_count: number;
2536
+ name: string;
2537
+ normal_followers_count: number;
2538
+ pinned_tweet_ids_str: string[];
2539
+ possibly_sensitive: boolean;
2540
+ profile_banner_url?: string;
2541
+ profile_image_url_https: string;
2542
+ profile_interstitial_type: string;
2543
+ screen_name: string;
2544
+ statuses_count: number;
2545
+ translator_type: string;
2546
+ url?: string;
2547
+ verified: boolean;
2548
+ want_retweets: boolean;
2549
+ withheld_in_countries: unknown[];
2550
+ };
2551
+ tipjar_settings: {
2552
+ is_enabled?: boolean;
2553
+ patreon_handle?: string;
2554
+ cash_app_handle?: string;
2555
+ venmo_handle?: string;
2556
+ };
2557
+ professional?: {
2558
+ rest_id: string;
2559
+ professional_type: string;
2560
+ category: {
2561
+ id: number;
2562
+ name: string;
2563
+ icon_name: string;
1138
2564
  }[];
1139
2565
  };
1140
- favorite_count: number;
1141
- favorited: boolean;
1142
- full_text: string;
1143
- is_quote_status: boolean;
1144
- lang: string;
1145
- possibly_sensitive: boolean;
1146
- possibly_sensitive_editable: boolean;
1147
- quote_count: number;
1148
- reply_count: number;
1149
- retweet_count: number;
1150
- retweeted: boolean;
1151
- user_id_str: string;
1152
- id_str: string;
2566
+ super_follow_eligible?: boolean;
1153
2567
  };
1154
2568
  };
1155
- limitedActionResults?: {
1156
- limited_actions: {
1157
- action: string;
1158
- prompt: {
1159
- __typename: string;
1160
- cta_type: string;
1161
- headline: {
1162
- text: string;
1163
- entities: unknown[];
2569
+ };
2570
+ unmention_data: {};
2571
+ edit_control: {
2572
+ edit_tweet_ids?: string[];
2573
+ editable_until_msecs?: string;
2574
+ is_edit_eligible?: boolean;
2575
+ edits_remaining?: string;
2576
+ initial_tweet_id?: string;
2577
+ edit_control_initial?: {
2578
+ edit_tweet_ids: string[];
2579
+ editable_until_msecs: string;
2580
+ is_edit_eligible: boolean;
2581
+ edits_remaining: string;
2582
+ };
2583
+ };
2584
+ is_translatable: boolean;
2585
+ views: {
2586
+ count?: string;
2587
+ state: string;
2588
+ };
2589
+ source: string;
2590
+ legacy: {
2591
+ bookmark_count: number;
2592
+ bookmarked: boolean;
2593
+ created_at: string;
2594
+ conversation_id_str: string;
2595
+ display_text_range: number[];
2596
+ entities: {
2597
+ hashtags: {
2598
+ indices: number[];
2599
+ text: string;
2600
+ }[];
2601
+ media?: {
2602
+ display_url: string;
2603
+ expanded_url: string;
2604
+ id_str: string;
2605
+ indices: number[];
2606
+ media_key: string;
2607
+ media_url_https: string;
2608
+ type: string;
2609
+ url: string;
2610
+ ext_media_availability: {
2611
+ status: string;
2612
+ };
2613
+ features?: {
2614
+ large: {
2615
+ faces: {
2616
+ x: number;
2617
+ y: number;
2618
+ h: number;
2619
+ w: number;
2620
+ }[];
1164
2621
  };
1165
- subtext: {
1166
- text: string;
1167
- entities: unknown[];
2622
+ medium: {
2623
+ faces: {
2624
+ x: number;
2625
+ y: number;
2626
+ h: number;
2627
+ w: number;
2628
+ }[];
2629
+ };
2630
+ small: {
2631
+ faces: {
2632
+ x: number;
2633
+ y: number;
2634
+ h: number;
2635
+ w: number;
2636
+ }[];
2637
+ };
2638
+ orig: {
2639
+ faces: {
2640
+ x: number;
2641
+ y: number;
2642
+ h: number;
2643
+ w: number;
2644
+ }[];
1168
2645
  };
2646
+ all?: {
2647
+ tags: {
2648
+ user_id: string;
2649
+ name: string;
2650
+ screen_name: string;
2651
+ type: string;
2652
+ }[];
2653
+ };
2654
+ };
2655
+ sizes: {
2656
+ large: {
2657
+ h: number;
2658
+ w: number;
2659
+ resize: string;
2660
+ };
2661
+ medium: {
2662
+ h: number;
2663
+ w: number;
2664
+ resize: string;
2665
+ };
2666
+ small: {
2667
+ h: number;
2668
+ w: number;
2669
+ resize: string;
2670
+ };
2671
+ thumb: {
2672
+ h: number;
2673
+ w: number;
2674
+ resize: string;
2675
+ };
2676
+ };
2677
+ original_info: {
2678
+ height: number;
2679
+ width: number;
2680
+ focus_rects: {
2681
+ x: number;
2682
+ y: number;
2683
+ w: number;
2684
+ h: number;
2685
+ }[];
2686
+ };
2687
+ allow_download_status?: {
2688
+ allow_download: boolean;
2689
+ };
2690
+ media_results: {
2691
+ result: {
2692
+ media_key: string;
2693
+ };
2694
+ };
2695
+ additional_media_info?: {
2696
+ monetizable: boolean;
2697
+ };
2698
+ video_info?: {
2699
+ aspect_ratio: number[];
2700
+ duration_millis: number;
2701
+ variants: {
2702
+ content_type: string;
2703
+ url: string;
2704
+ bitrate?: number;
2705
+ }[];
1169
2706
  };
1170
2707
  }[];
2708
+ symbols: unknown[];
2709
+ timestamps: unknown[];
2710
+ urls: {
2711
+ display_url: string;
2712
+ expanded_url: string;
2713
+ url: string;
2714
+ indices: number[];
2715
+ }[];
2716
+ user_mentions: {
2717
+ id_str: string;
2718
+ name: string;
2719
+ screen_name: string;
2720
+ indices: number[];
2721
+ }[];
1171
2722
  };
1172
- note_tweet?: {
1173
- is_expandable: boolean;
1174
- note_tweet_results: {
1175
- result: {
1176
- id: string;
1177
- text: string;
1178
- entity_set: {
1179
- hashtags: unknown[];
1180
- symbols: unknown[];
1181
- urls: {
1182
- display_url: string;
1183
- expanded_url: string;
1184
- url: string;
1185
- indices: number[];
2723
+ extended_entities?: {
2724
+ media: {
2725
+ display_url: string;
2726
+ expanded_url: string;
2727
+ id_str: string;
2728
+ indices: number[];
2729
+ media_key: string;
2730
+ media_url_https: string;
2731
+ type: string;
2732
+ url: string;
2733
+ ext_media_availability: {
2734
+ status: string;
2735
+ };
2736
+ features?: {
2737
+ large: {
2738
+ faces: {
2739
+ x: number;
2740
+ y: number;
2741
+ h: number;
2742
+ w: number;
2743
+ }[];
2744
+ };
2745
+ medium: {
2746
+ faces: {
2747
+ x: number;
2748
+ y: number;
2749
+ h: number;
2750
+ w: number;
1186
2751
  }[];
1187
- user_mentions: unknown[];
1188
2752
  };
1189
- richtext: {
1190
- richtext_tags: unknown[];
2753
+ small: {
2754
+ faces: {
2755
+ x: number;
2756
+ y: number;
2757
+ h: number;
2758
+ w: number;
2759
+ }[];
1191
2760
  };
1192
- media: {
1193
- inline_media: unknown[];
2761
+ orig: {
2762
+ faces: {
2763
+ x: number;
2764
+ y: number;
2765
+ h: number;
2766
+ w: number;
2767
+ }[];
2768
+ };
2769
+ all?: {
2770
+ tags: {
2771
+ user_id: string;
2772
+ name: string;
2773
+ screen_name: string;
2774
+ type: string;
2775
+ }[];
1194
2776
  };
1195
2777
  };
1196
- };
1197
- };
1198
- };
1199
- };
1200
- card?: {
1201
- rest_id: string;
1202
- legacy: {
1203
- binding_values: {
1204
- key: string;
1205
- value: {
1206
- string_value?: string;
1207
- type: string;
1208
- scribe_key?: string;
1209
- image_value?: {
2778
+ sizes: {
2779
+ large: {
2780
+ h: number;
2781
+ w: number;
2782
+ resize: string;
2783
+ };
2784
+ medium: {
2785
+ h: number;
2786
+ w: number;
2787
+ resize: string;
2788
+ };
2789
+ small: {
2790
+ h: number;
2791
+ w: number;
2792
+ resize: string;
2793
+ };
2794
+ thumb: {
2795
+ h: number;
2796
+ w: number;
2797
+ resize: string;
2798
+ };
2799
+ };
2800
+ original_info: {
1210
2801
  height: number;
1211
2802
  width: number;
1212
- url: string;
1213
- };
1214
- user_value?: {
1215
- id_str: string;
1216
- path: unknown[];
1217
- };
1218
- image_color_value?: {
1219
- palette: {
1220
- rgb: {
1221
- blue: number;
1222
- green: number;
1223
- red: number;
1224
- };
1225
- percentage: number;
2803
+ focus_rects: {
2804
+ x: number;
2805
+ y: number;
2806
+ w: number;
2807
+ h: number;
2808
+ }[];
2809
+ };
2810
+ allow_download_status?: {
2811
+ allow_download: boolean;
2812
+ };
2813
+ media_results: {
2814
+ result: {
2815
+ media_key: string;
2816
+ };
2817
+ };
2818
+ additional_media_info?: {
2819
+ monetizable: boolean;
2820
+ };
2821
+ video_info?: {
2822
+ aspect_ratio: number[];
2823
+ duration_millis: number;
2824
+ variants: {
2825
+ content_type: string;
2826
+ url: string;
2827
+ bitrate?: number;
1226
2828
  }[];
1227
2829
  };
2830
+ }[];
2831
+ };
2832
+ favorite_count: number;
2833
+ favorited: boolean;
2834
+ full_text: string;
2835
+ in_reply_to_screen_name?: string;
2836
+ in_reply_to_status_id_str?: string;
2837
+ in_reply_to_user_id_str?: string;
2838
+ is_quote_status: boolean;
2839
+ lang: string;
2840
+ possibly_sensitive?: boolean;
2841
+ possibly_sensitive_editable?: boolean;
2842
+ quote_count: number;
2843
+ reply_count: number;
2844
+ retweet_count: number;
2845
+ retweeted: boolean;
2846
+ user_id_str: string;
2847
+ id_str: string;
2848
+ conversation_control?: {
2849
+ policy: string;
2850
+ conversation_owner_results: {
2851
+ result: {
2852
+ __typename: string;
2853
+ legacy: {
2854
+ screen_name: string;
2855
+ };
2856
+ };
1228
2857
  };
1229
- }[];
1230
- card_platform: {
1231
- platform: {
1232
- audience: {
1233
- name: string;
2858
+ };
2859
+ place?: {
2860
+ bounding_box: {
2861
+ coordinates: number[][][];
2862
+ type: string;
2863
+ };
2864
+ country: string;
2865
+ country_code: string;
2866
+ full_name: string;
2867
+ name: string;
2868
+ id: string;
2869
+ place_type: string;
2870
+ url: string;
2871
+ };
2872
+ quoted_status_id_str?: string;
2873
+ quoted_status_permalink?: {
2874
+ url: string;
2875
+ expanded: string;
2876
+ display: string;
2877
+ };
2878
+ };
2879
+ card?: {
2880
+ rest_id: string;
2881
+ legacy: {
2882
+ binding_values: {
2883
+ key: string;
2884
+ value: {
2885
+ image_value?: {
2886
+ height: number;
2887
+ width: number;
2888
+ url: string;
2889
+ };
2890
+ type: string;
2891
+ image_color_value?: {
2892
+ palette: {
2893
+ rgb: {
2894
+ blue: number;
2895
+ green: number;
2896
+ red: number;
2897
+ };
2898
+ percentage: number;
2899
+ }[];
2900
+ };
2901
+ scribe_key?: string;
2902
+ user_value?: {
2903
+ id_str: string;
2904
+ path: unknown[];
2905
+ };
2906
+ string_value?: string;
1234
2907
  };
1235
- device: {
1236
- name: string;
1237
- version: string;
2908
+ }[];
2909
+ card_platform: {
2910
+ platform: {
2911
+ audience: {
2912
+ name: string;
2913
+ };
2914
+ device: {
2915
+ name: string;
2916
+ version: string;
2917
+ };
1238
2918
  };
1239
2919
  };
1240
- };
1241
- name: string;
1242
- url: string;
1243
- user_refs_results: {
1244
- result: {
1245
- __typename: string;
1246
- id: string;
1247
- rest_id: string;
1248
- affiliates_highlighted_label: {};
1249
- has_graduated_access: boolean;
1250
- parody_commentary_fan_label: string;
1251
- is_blue_verified: boolean;
1252
- profile_image_shape: string;
1253
- legacy: {
1254
- following: boolean;
1255
- can_dm: boolean;
1256
- can_media_tag: boolean;
1257
- created_at: string;
1258
- default_profile: boolean;
1259
- default_profile_image: boolean;
1260
- description: string;
1261
- entities: {
1262
- description: {
1263
- urls: unknown[];
1264
- };
1265
- url: {
1266
- urls: {
1267
- display_url: string;
1268
- expanded_url: string;
2920
+ name: string;
2921
+ url: string;
2922
+ user_refs_results: {
2923
+ result: {
2924
+ __typename: string;
2925
+ id: string;
2926
+ rest_id: string;
2927
+ affiliates_highlighted_label: {
2928
+ label?: {
2929
+ url: {
1269
2930
  url: string;
1270
- indices: number[];
1271
- }[];
2931
+ urlType: string;
2932
+ };
2933
+ badge: {
2934
+ url: string;
2935
+ };
2936
+ description: string;
2937
+ userLabelType: string;
2938
+ userLabelDisplayType: string;
1272
2939
  };
1273
2940
  };
1274
- fast_followers_count: number;
1275
- favourites_count: number;
1276
- followers_count: number;
1277
- friends_count: number;
1278
- has_custom_timelines: boolean;
1279
- is_translator: boolean;
1280
- listed_count: number;
1281
- location: string;
1282
- media_count: number;
1283
- name: string;
1284
- normal_followers_count: number;
1285
- pinned_tweet_ids_str: string[];
1286
- possibly_sensitive: boolean;
1287
- profile_banner_url: string;
1288
- profile_image_url_https: string;
1289
- profile_interstitial_type: string;
1290
- screen_name: string;
1291
- statuses_count: number;
1292
- translator_type: string;
1293
- url: string;
1294
- verified: boolean;
1295
- verified_type: string;
1296
- want_retweets: boolean;
1297
- withheld_in_countries: unknown[];
1298
- };
1299
- professional: {
1300
- rest_id: string;
1301
- professional_type: string;
1302
- category: {
1303
- id: number;
2941
+ has_graduated_access: boolean;
2942
+ parody_commentary_fan_label: string;
2943
+ is_blue_verified: boolean;
2944
+ profile_image_shape: string;
2945
+ legacy: {
2946
+ blocking?: boolean;
2947
+ following: boolean;
2948
+ can_dm: boolean;
2949
+ can_media_tag: boolean;
2950
+ created_at: string;
2951
+ default_profile: boolean;
2952
+ default_profile_image: boolean;
2953
+ description: string;
2954
+ entities: {
2955
+ description: {
2956
+ urls: {
2957
+ display_url: string;
2958
+ expanded_url: string;
2959
+ url: string;
2960
+ indices: number[];
2961
+ }[];
2962
+ };
2963
+ url: {
2964
+ urls: {
2965
+ display_url: string;
2966
+ expanded_url: string;
2967
+ url: string;
2968
+ indices: number[];
2969
+ }[];
2970
+ };
2971
+ };
2972
+ fast_followers_count: number;
2973
+ favourites_count: number;
2974
+ followers_count: number;
2975
+ friends_count: number;
2976
+ has_custom_timelines: boolean;
2977
+ is_translator: boolean;
2978
+ listed_count: number;
2979
+ location: string;
2980
+ media_count: number;
1304
2981
  name: string;
1305
- icon_name: string;
2982
+ normal_followers_count: number;
2983
+ pinned_tweet_ids_str: string[];
2984
+ possibly_sensitive: boolean;
2985
+ profile_banner_url: string;
2986
+ profile_image_url_https: string;
2987
+ profile_interstitial_type: string;
2988
+ screen_name: string;
2989
+ statuses_count: number;
2990
+ translator_type: string;
2991
+ url: string;
2992
+ verified: boolean;
2993
+ verified_type?: string;
2994
+ want_retweets: boolean;
2995
+ withheld_in_countries: unknown[];
2996
+ };
2997
+ tipjar_settings: {};
2998
+ professional?: {
2999
+ rest_id: string;
3000
+ professional_type: string;
3001
+ category: unknown[];
3002
+ };
3003
+ };
3004
+ }[];
3005
+ };
3006
+ };
3007
+ note_tweet?: {
3008
+ is_expandable: boolean;
3009
+ note_tweet_results: {
3010
+ result: {
3011
+ id: string;
3012
+ text: string;
3013
+ entity_set: {
3014
+ hashtags: {
3015
+ indices: number[];
3016
+ text: string;
3017
+ }[];
3018
+ symbols: unknown[];
3019
+ urls: {
3020
+ display_url: string;
3021
+ expanded_url: string;
3022
+ url: string;
3023
+ indices: number[];
1306
3024
  }[];
3025
+ user_mentions: unknown[];
3026
+ timestamps?: unknown[];
3027
+ };
3028
+ richtext?: {
3029
+ richtext_tags: unknown[];
1307
3030
  };
1308
- tipjar_settings: {};
1309
3031
  };
1310
- }[];
3032
+ };
3033
+ };
3034
+ previous_counts?: {
3035
+ bookmark_count: number;
3036
+ favorite_count: number;
3037
+ quote_count: number;
3038
+ reply_count: number;
3039
+ retweet_count: number;
1311
3040
  };
3041
+ quoted_status_result?: {};
1312
3042
  };
1313
- note_tweet?: {
1314
- is_expandable: boolean;
1315
- note_tweet_results: {
1316
- result: {
1317
- id: string;
3043
+ mediaVisibilityResults?: {
3044
+ blurred_image_interstitial: {
3045
+ opacity: number;
3046
+ text: {
3047
+ rtl: boolean;
1318
3048
  text: string;
1319
- entity_set: {
1320
- hashtags: {
1321
- indices: number[];
1322
- text: string;
1323
- }[];
1324
- symbols: unknown[];
1325
- urls: {
1326
- display_url: string;
1327
- expanded_url: string;
1328
- url: string;
1329
- indices: number[];
1330
- }[];
1331
- user_mentions: {
1332
- id_str: string;
1333
- name: string;
1334
- screen_name: string;
1335
- indices: number[];
1336
- }[];
1337
- timestamps?: unknown[];
1338
- };
1339
- richtext?: {
1340
- richtext_tags: {
1341
- from_index: number;
1342
- to_index: number;
1343
- richtext_types: string[];
1344
- }[];
3049
+ entities: unknown[];
3050
+ };
3051
+ title: {
3052
+ rtl: boolean;
3053
+ text: string;
3054
+ entities: unknown[];
3055
+ };
3056
+ };
3057
+ };
3058
+ limitedActionResults?: {
3059
+ limited_actions: {
3060
+ action: string;
3061
+ prompt: {
3062
+ __typename: string;
3063
+ cta_type: string;
3064
+ headline: {
3065
+ text: string;
3066
+ entities: unknown[];
1345
3067
  };
1346
- media?: {
1347
- inline_media: unknown[];
3068
+ subtext: {
3069
+ text: string;
3070
+ entities: unknown[];
1348
3071
  };
1349
3072
  };
1350
- };
3073
+ }[];
1351
3074
  };
1352
3075
  };
1353
3076
  };
@@ -1364,7 +3087,20 @@ export interface CustomSearchTimelineEntry {
1364
3087
  __typename: string;
1365
3088
  id: string;
1366
3089
  rest_id: string;
1367
- affiliates_highlighted_label: {};
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
+ };
1368
3104
  has_graduated_access: boolean;
1369
3105
  parody_commentary_fan_label: string;
1370
3106
  is_blue_verified: boolean;
@@ -1379,7 +3115,12 @@ export interface CustomSearchTimelineEntry {
1379
3115
  description: string;
1380
3116
  entities: {
1381
3117
  description: {
1382
- urls: unknown[];
3118
+ urls: {
3119
+ display_url: string;
3120
+ expanded_url: string;
3121
+ url: string;
3122
+ indices: number[];
3123
+ }[];
1383
3124
  };
1384
3125
  url: {
1385
3126
  urls: {
@@ -1416,6 +3157,15 @@ export interface CustomSearchTimelineEntry {
1416
3157
  withheld_in_countries: unknown[];
1417
3158
  };
1418
3159
  tipjar_settings: {};
3160
+ professional?: {
3161
+ rest_id: string;
3162
+ professional_type: string;
3163
+ category: {
3164
+ id: number;
3165
+ name: string;
3166
+ icon_name: string;
3167
+ }[];
3168
+ };
1419
3169
  };
1420
3170
  };
1421
3171
  adMetadataContainer: {
@@ -1435,6 +3185,15 @@ export interface CustomSearchTimelineEntry {
1435
3185
  }[];
1436
3186
  };
1437
3187
  };
3188
+ socialContext?: {
3189
+ type: string;
3190
+ contextType: string;
3191
+ text: string;
3192
+ landingUrl: {
3193
+ url: string;
3194
+ urlType: string;
3195
+ };
3196
+ };
1438
3197
  };
1439
3198
  feedbackInfo?: {
1440
3199
  feedbackKeys: string[];