@book000/twitterts 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
  2. package/dist/generate-types/custom-types-generator.js +26 -26
  3. package/dist/generate-types/custom-types-generator.js.map +1 -1
  4. package/dist/generate-types/endpoint-type-generator.d.ts +1 -1
  5. package/dist/generate-types/endpoint-type-generator.d.ts.map +1 -1
  6. package/dist/generate-types/endpoint-type-generator.js +4 -3
  7. package/dist/generate-types/endpoint-type-generator.js.map +1 -1
  8. package/dist/generate-types/types-generator.d.ts.map +1 -1
  9. package/dist/generate-types/types-generator.js +9 -13
  10. package/dist/generate-types/types-generator.js.map +1 -1
  11. package/dist/generate-types/utils.d.ts +7 -0
  12. package/dist/generate-types/utils.d.ts.map +1 -1
  13. package/dist/generate-types/utils.js +34 -6
  14. package/dist/generate-types/utils.js.map +1 -1
  15. package/dist/generate-types.js +13 -3
  16. package/dist/generate-types.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/models/exceptions.d.ts +12 -0
  22. package/dist/models/exceptions.d.ts.map +1 -1
  23. package/dist/models/exceptions.js +19 -1
  24. package/dist/models/exceptions.js.map +1 -1
  25. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts +181 -646
  26. package/dist/models/responses/custom/custom-search-timeline-entry.d.ts.map +1 -1
  27. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +1156 -936
  28. package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
  29. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +511 -634
  30. package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
  31. package/dist/models/responses/custom/custom-tweet-object.d.ts +813 -1104
  32. package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
  33. package/dist/models/responses/custom/custom-user-legacy-object.d.ts +3 -0
  34. package/dist/models/responses/custom/custom-user-legacy-object.d.ts.map +1 -1
  35. package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts +39 -10
  36. package/dist/models/responses/custom/custom-user-like-tweet-entry.d.ts.map +1 -1
  37. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +1318 -1400
  38. package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
  39. package/dist/models/responses/endpoints.d.ts +9 -29
  40. package/dist/models/responses/endpoints.d.ts.map +1 -1
  41. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts +4 -0
  42. package/dist/models/responses/graphql/get/audio-space-by-id-success.d.ts.map +1 -1
  43. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +1475 -1777
  44. package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
  45. package/dist/models/responses/graphql/get/home-timeline-success.d.ts +1147 -1433
  46. package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
  47. package/dist/models/responses/graphql/get/likes-success.d.ts +39 -10
  48. package/dist/models/responses/graphql/get/likes-success.d.ts.map +1 -1
  49. package/dist/models/responses/graphql/get/search-timeline-success.d.ts +230 -1080
  50. package/dist/models/responses/graphql/get/search-timeline-success.d.ts.map +1 -1
  51. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts +148 -207
  52. package/dist/models/responses/graphql/get/tweet-detail-success.d.ts.map +1 -1
  53. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts +7 -2
  54. package/dist/models/responses/graphql/get/user-by-screen-name-success.d.ts.map +1 -1
  55. package/dist/models/responses/graphql/get/user-tweets-success.d.ts +2871 -2885
  56. package/dist/models/responses/graphql/get/user-tweets-success.d.ts.map +1 -1
  57. package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts +17 -0
  58. package/dist/models/responses/graphql/get/users-verified-avatars-success.d.ts.map +1 -0
  59. package/dist/models/responses/graphql/get/users-verified-avatars-success.js +4 -0
  60. package/dist/models/responses/graphql/get/users-verified-avatars-success.js.map +1 -0
  61. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +1234 -1699
  62. package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
  63. package/dist/models/responses/graphql/post/home-timeline-success.d.ts +468 -769
  64. package/dist/models/responses/graphql/post/home-timeline-success.d.ts.map +1 -1
  65. package/dist/options.d.ts +18 -0
  66. package/dist/options.d.ts.map +1 -1
  67. package/dist/parser/parser.test.js +3 -2
  68. package/dist/parser/parser.test.js.map +1 -1
  69. package/dist/scraper.d.ts +3 -3
  70. package/dist/scraper.d.ts.map +1 -1
  71. package/dist/scraper.js +79 -33
  72. package/dist/scraper.js.map +1 -1
  73. package/dist/tsconfig.build.tsbuildinfo +1 -1
  74. package/dist/tsconfig.tsbuildinfo +1 -1
  75. package/dist/twitter.d.ts +14 -1
  76. package/dist/twitter.d.ts.map +1 -1
  77. package/dist/twitter.js +112 -0
  78. package/dist/twitter.js.map +1 -1
  79. package/dist/twitter.test.js +10 -0
  80. package/dist/twitter.test.js.map +1 -1
  81. package/package.json +2 -1
@@ -84,7 +84,9 @@ export interface CustomUserTweetEntry {
84
84
  want_retweets: boolean;
85
85
  withheld_in_countries: unknown[];
86
86
  needs_phone_verification?: boolean;
87
- followed_by?: boolean;
87
+ following?: boolean;
88
+ verified_type?: string;
89
+ blocking?: boolean;
88
90
  };
89
91
  professional?: {
90
92
  rest_id: string;
@@ -212,18 +214,9 @@ export interface CustomUserTweetEntry {
212
214
  translator_type: string;
213
215
  url?: string;
214
216
  verified: boolean;
217
+ verified_type?: string;
215
218
  want_retweets: boolean;
216
219
  withheld_in_countries: unknown[];
217
- verified_type?: string;
218
- };
219
- professional?: {
220
- rest_id: string;
221
- professional_type: string;
222
- category: {
223
- id: number;
224
- name: string;
225
- icon_name: string;
226
- }[];
227
220
  };
228
221
  unavailable_message?: {
229
222
  rtl: boolean;
@@ -239,6 +232,15 @@ export interface CustomUserTweetEntry {
239
232
  }[];
240
233
  };
241
234
  reason?: string;
235
+ professional?: {
236
+ rest_id: string;
237
+ professional_type: string;
238
+ category: {
239
+ id: number;
240
+ name: string;
241
+ icon_name: string;
242
+ }[];
243
+ };
242
244
  };
243
245
  }[];
244
246
  };
@@ -258,8 +260,8 @@ export interface CustomUserTweetEntry {
258
260
  };
259
261
  is_translatable?: boolean;
260
262
  views?: {
261
- state: string;
262
263
  count?: string;
264
+ state: string;
263
265
  };
264
266
  source?: string;
265
267
  legacy?: {
@@ -292,8 +294,6 @@ export interface CustomUserTweetEntry {
292
294
  id_str: string;
293
295
  indices: number[];
294
296
  media_url_https: string;
295
- source_status_id_str?: string;
296
- source_user_id_str?: string;
297
297
  type: string;
298
298
  url: string;
299
299
  features: {
@@ -370,6 +370,8 @@ export interface CustomUserTweetEntry {
370
370
  h: number;
371
371
  }[];
372
372
  };
373
+ source_status_id_str?: string;
374
+ source_user_id_str?: string;
373
375
  }[];
374
376
  };
375
377
  favorite_count: number;
@@ -385,6 +387,201 @@ export interface CustomUserTweetEntry {
385
387
  retweeted: boolean;
386
388
  user_id_str: string;
387
389
  id_str: string;
390
+ extended_entities?: {
391
+ media: {
392
+ display_url: string;
393
+ expanded_url: string;
394
+ id_str: string;
395
+ indices: number[];
396
+ media_key: string;
397
+ media_url_https: string;
398
+ type: string;
399
+ url: string;
400
+ ext_media_availability: {
401
+ status: string;
402
+ };
403
+ features: {
404
+ large?: {
405
+ faces: {
406
+ x: number;
407
+ y: number;
408
+ h: number;
409
+ w: number;
410
+ }[];
411
+ };
412
+ medium?: {
413
+ faces: {
414
+ x: number;
415
+ y: number;
416
+ h: number;
417
+ w: number;
418
+ }[];
419
+ };
420
+ small?: {
421
+ faces: {
422
+ x: number;
423
+ y: number;
424
+ h: number;
425
+ w: number;
426
+ }[];
427
+ };
428
+ orig?: {
429
+ faces: {
430
+ x: number;
431
+ y: number;
432
+ h: number;
433
+ w: number;
434
+ }[];
435
+ };
436
+ all?: {
437
+ tags: {
438
+ user_id: string;
439
+ name: string;
440
+ screen_name: string;
441
+ type: string;
442
+ }[];
443
+ };
444
+ };
445
+ sizes: {
446
+ large: {
447
+ h: number;
448
+ w: number;
449
+ resize: string;
450
+ };
451
+ medium: {
452
+ h: number;
453
+ w: number;
454
+ resize: string;
455
+ };
456
+ small: {
457
+ h: number;
458
+ w: number;
459
+ resize: string;
460
+ };
461
+ thumb: {
462
+ h: number;
463
+ w: number;
464
+ resize: string;
465
+ };
466
+ };
467
+ original_info: {
468
+ height: number;
469
+ width: number;
470
+ focus_rects?: {
471
+ x: number;
472
+ y: number;
473
+ w: number;
474
+ h: number;
475
+ }[];
476
+ };
477
+ source_status_id_str?: string;
478
+ source_user_id_str?: string;
479
+ additional_media_info?: {
480
+ monetizable: boolean;
481
+ source_user?: {
482
+ user_results: {
483
+ result: {
484
+ __typename: string;
485
+ id: string;
486
+ rest_id: string;
487
+ affiliates_highlighted_label: {
488
+ label?: {
489
+ url: {
490
+ url: string;
491
+ urlType: string;
492
+ };
493
+ badge: {
494
+ url: string;
495
+ };
496
+ description: string;
497
+ userLabelType: string;
498
+ userLabelDisplayType: string;
499
+ };
500
+ };
501
+ has_graduated_access: boolean;
502
+ is_blue_verified: boolean;
503
+ profile_image_shape: string;
504
+ legacy: {
505
+ can_dm: boolean;
506
+ can_media_tag: boolean;
507
+ created_at: string;
508
+ default_profile: boolean;
509
+ default_profile_image: boolean;
510
+ description: string;
511
+ entities: {
512
+ description: {
513
+ urls: {
514
+ display_url: string;
515
+ expanded_url: string;
516
+ url: string;
517
+ indices: number[];
518
+ }[];
519
+ };
520
+ url: {
521
+ urls: {
522
+ display_url: string;
523
+ expanded_url: string;
524
+ url: string;
525
+ indices: number[];
526
+ }[];
527
+ };
528
+ };
529
+ fast_followers_count: number;
530
+ favourites_count: number;
531
+ followers_count: number;
532
+ friends_count: number;
533
+ has_custom_timelines: boolean;
534
+ is_translator: boolean;
535
+ listed_count: number;
536
+ location: string;
537
+ media_count: number;
538
+ name: string;
539
+ normal_followers_count: number;
540
+ pinned_tweet_ids_str: string[];
541
+ possibly_sensitive: boolean;
542
+ profile_banner_url: string;
543
+ profile_image_url_https: string;
544
+ profile_interstitial_type: string;
545
+ screen_name: string;
546
+ statuses_count: number;
547
+ translator_type: string;
548
+ url: string;
549
+ verified: boolean;
550
+ want_retweets: boolean;
551
+ withheld_in_countries: unknown[];
552
+ verified_type?: string;
553
+ };
554
+ professional?: {
555
+ rest_id: string;
556
+ professional_type: string;
557
+ category: {
558
+ id: number;
559
+ name: string;
560
+ icon_name: string;
561
+ }[];
562
+ };
563
+ };
564
+ };
565
+ };
566
+ title?: string;
567
+ description?: string;
568
+ embeddable?: boolean;
569
+ };
570
+ mediaStats?: {
571
+ viewCount: number;
572
+ };
573
+ video_info?: {
574
+ aspect_ratio: number[];
575
+ duration_millis: number;
576
+ variants: {
577
+ bitrate?: number;
578
+ content_type: string;
579
+ url: string;
580
+ }[];
581
+ };
582
+ ext_alt_text?: string;
583
+ }[];
584
+ };
388
585
  retweeted_status_result?: {
389
586
  result: {
390
587
  __typename: string;
@@ -397,16 +594,10 @@ export interface CustomUserTweetEntry {
397
594
  rest_id: string;
398
595
  affiliates_highlighted_label: {
399
596
  label?: {
400
- url?: {
401
- url: string;
402
- urlType: string;
403
- };
404
597
  badge: {
405
598
  url: string;
406
599
  };
407
600
  description: string;
408
- userLabelType: string;
409
- userLabelDisplayType?: string;
410
601
  longDescription?: {
411
602
  text: string;
412
603
  entities: {
@@ -427,6 +618,12 @@ export interface CustomUserTweetEntry {
427
618
  };
428
619
  }[];
429
620
  };
621
+ userLabelType: string;
622
+ url?: {
623
+ url: string;
624
+ urlType: string;
625
+ };
626
+ userLabelDisplayType?: string;
430
627
  };
431
628
  };
432
629
  has_graduated_access: boolean;
@@ -470,6 +667,7 @@ export interface CustomUserTweetEntry {
470
667
  normal_followers_count: number;
471
668
  pinned_tweet_ids_str: string[];
472
669
  possibly_sensitive: boolean;
670
+ profile_banner_url?: string;
473
671
  profile_image_url_https: string;
474
672
  profile_interstitial_type: string;
475
673
  screen_name: string;
@@ -479,7 +677,6 @@ export interface CustomUserTweetEntry {
479
677
  verified: boolean;
480
678
  want_retweets: boolean;
481
679
  withheld_in_countries: unknown[];
482
- profile_banner_url?: string;
483
680
  verified_type?: string;
484
681
  };
485
682
  professional?: {
@@ -495,139 +692,6 @@ export interface CustomUserTweetEntry {
495
692
  };
496
693
  };
497
694
  };
498
- card?: {
499
- rest_id: string;
500
- legacy: {
501
- binding_values: {
502
- key: string;
503
- value: {
504
- image_value?: {
505
- height: number;
506
- width: number;
507
- url: string;
508
- alt?: string;
509
- };
510
- type: string;
511
- string_value?: string;
512
- scribe_key?: string;
513
- user_value?: {
514
- id_str: string;
515
- path: unknown[];
516
- };
517
- image_color_value?: {
518
- palette: {
519
- rgb: {
520
- blue: number;
521
- green: number;
522
- red: number;
523
- };
524
- percentage: number;
525
- }[];
526
- };
527
- boolean_value?: boolean;
528
- };
529
- }[];
530
- card_platform: {
531
- platform: {
532
- audience: {
533
- name: string;
534
- };
535
- device: {
536
- name: string;
537
- version: string;
538
- };
539
- };
540
- };
541
- name: string;
542
- url: string;
543
- user_refs_results: {
544
- result: {
545
- __typename: string;
546
- id: string;
547
- rest_id: string;
548
- affiliates_highlighted_label: {
549
- label?: {
550
- url: {
551
- url: string;
552
- urlType: string;
553
- };
554
- badge: {
555
- url: string;
556
- };
557
- description: string;
558
- userLabelType: string;
559
- userLabelDisplayType: string;
560
- };
561
- };
562
- has_graduated_access: boolean;
563
- is_blue_verified: boolean;
564
- profile_image_shape: string;
565
- legacy: {
566
- can_dm: boolean;
567
- can_media_tag: boolean;
568
- created_at: string;
569
- default_profile: boolean;
570
- default_profile_image: boolean;
571
- description: string;
572
- entities: {
573
- description: {
574
- urls: {
575
- display_url: string;
576
- expanded_url: string;
577
- url: string;
578
- indices: number[];
579
- }[];
580
- };
581
- url?: {
582
- urls: {
583
- display_url: string;
584
- expanded_url: string;
585
- url: string;
586
- indices: number[];
587
- }[];
588
- };
589
- };
590
- fast_followers_count: number;
591
- favourites_count: number;
592
- followers_count: number;
593
- friends_count: number;
594
- has_custom_timelines: boolean;
595
- is_translator: boolean;
596
- listed_count: number;
597
- location: string;
598
- media_count: number;
599
- name: string;
600
- normal_followers_count: number;
601
- pinned_tweet_ids_str: string[];
602
- possibly_sensitive: boolean;
603
- profile_banner_url: string;
604
- profile_image_url_https: string;
605
- profile_interstitial_type: string;
606
- screen_name: string;
607
- statuses_count: number;
608
- translator_type: string;
609
- url?: string;
610
- verified: boolean;
611
- want_retweets: boolean;
612
- withheld_in_countries: unknown[];
613
- verified_type?: string;
614
- };
615
- professional?: {
616
- rest_id: string;
617
- professional_type: string;
618
- category: {
619
- id: number;
620
- name: string;
621
- icon_name: string;
622
- }[];
623
- };
624
- };
625
- }[];
626
- };
627
- };
628
- unified_card?: {
629
- card_fetch_state: string;
630
- };
631
695
  edit_control: {
632
696
  edit_tweet_ids?: string[];
633
697
  editable_until_msecs?: string;
@@ -658,23 +722,6 @@ export interface CustomUserTweetEntry {
658
722
  conversation_id_str: string;
659
723
  display_text_range: number[];
660
724
  entities: {
661
- user_mentions: {
662
- id_str: string;
663
- name: string;
664
- screen_name: string;
665
- indices: number[];
666
- }[];
667
- urls: {
668
- display_url: string;
669
- expanded_url: string;
670
- url: string;
671
- indices: number[];
672
- }[];
673
- hashtags: {
674
- indices: number[];
675
- text: string;
676
- }[];
677
- symbols: unknown[];
678
725
  media?: {
679
726
  display_url: string;
680
727
  expanded_url: string;
@@ -757,23 +804,25 @@ export interface CustomUserTweetEntry {
757
804
  h: number;
758
805
  }[];
759
806
  };
760
- source_status_id_str?: string;
761
- source_user_id_str?: string;
762
807
  }[];
808
+ user_mentions: {
809
+ id_str: string;
810
+ name: string;
811
+ screen_name: string;
812
+ indices: number[];
813
+ }[];
814
+ urls: {
815
+ display_url: string;
816
+ expanded_url: string;
817
+ url: string;
818
+ indices: number[];
819
+ }[];
820
+ hashtags: {
821
+ indices: number[];
822
+ text: string;
823
+ }[];
824
+ symbols: unknown[];
763
825
  };
764
- favorite_count: number;
765
- favorited: boolean;
766
- full_text: string;
767
- is_quote_status: boolean;
768
- lang: string;
769
- possibly_sensitive?: boolean;
770
- possibly_sensitive_editable?: boolean;
771
- quote_count: number;
772
- reply_count: number;
773
- retweet_count: number;
774
- retweeted: boolean;
775
- user_id_str: string;
776
- id_str: string;
777
826
  extended_entities?: {
778
827
  media: {
779
828
  display_url: string;
@@ -861,113 +910,49 @@ export interface CustomUserTweetEntry {
861
910
  h: number;
862
911
  }[];
863
912
  };
913
+ ext_alt_text?: string;
864
914
  additional_media_info?: {
865
915
  monetizable: boolean;
866
916
  title?: string;
867
917
  description?: string;
868
918
  embeddable?: boolean;
869
- source_user?: {
870
- user_results: {
871
- result: {
872
- __typename: string;
873
- id: string;
874
- rest_id: string;
875
- affiliates_highlighted_label: {};
876
- has_graduated_access: boolean;
877
- is_blue_verified: boolean;
878
- profile_image_shape: string;
879
- legacy: {
880
- can_dm: boolean;
881
- can_media_tag: boolean;
882
- created_at: string;
883
- default_profile: boolean;
884
- default_profile_image: boolean;
885
- description: string;
886
- entities: {
887
- description: {
888
- urls: unknown[];
889
- };
890
- };
891
- fast_followers_count: number;
892
- favourites_count: number;
893
- followers_count: number;
894
- friends_count: number;
895
- has_custom_timelines: boolean;
896
- is_translator: boolean;
897
- listed_count: number;
898
- location: string;
899
- media_count: number;
900
- name: string;
901
- normal_followers_count: number;
902
- pinned_tweet_ids_str: string[];
903
- possibly_sensitive: boolean;
904
- profile_banner_url: string;
905
- profile_image_url_https: string;
906
- profile_interstitial_type: string;
907
- screen_name: string;
908
- statuses_count: number;
909
- translator_type: string;
910
- verified: boolean;
911
- want_retweets: boolean;
912
- withheld_in_countries: unknown[];
913
- };
914
- professional: {
915
- rest_id: string;
916
- professional_type: string;
917
- category: {
918
- id: number;
919
- name: string;
920
- icon_name: string;
921
- }[];
922
- };
923
- };
924
- };
925
- };
926
919
  };
927
920
  mediaStats?: {
928
921
  viewCount: number;
929
922
  };
930
923
  video_info?: {
931
924
  aspect_ratio: number[];
932
- duration_millis?: number;
925
+ duration_millis: number;
933
926
  variants: {
934
- bitrate?: number;
935
927
  content_type: string;
936
928
  url: string;
929
+ bitrate?: number;
937
930
  }[];
938
931
  };
939
- source_status_id_str?: string;
940
- source_user_id_str?: string;
941
- ext_alt_text?: string;
942
932
  }[];
943
933
  };
944
- in_reply_to_screen_name?: string;
945
- in_reply_to_status_id_str?: string;
946
- in_reply_to_user_id_str?: string;
934
+ favorite_count: number;
935
+ favorited: boolean;
936
+ full_text: string;
937
+ is_quote_status: boolean;
938
+ lang: string;
939
+ possibly_sensitive?: boolean;
940
+ possibly_sensitive_editable?: boolean;
941
+ quote_count: number;
942
+ reply_count: number;
943
+ retweet_count: number;
944
+ retweeted: boolean;
945
+ user_id_str: string;
946
+ id_str: string;
947
947
  quoted_status_id_str?: string;
948
948
  quoted_status_permalink?: {
949
949
  url: string;
950
950
  expanded: string;
951
951
  display: string;
952
952
  };
953
- scopes?: {
954
- followers: boolean;
955
- };
956
- place?: {
957
- attributes: {};
958
- bounding_box: {
959
- coordinates: number[][][];
960
- type: string;
961
- };
962
- contained_within: unknown[];
963
- country: string;
964
- country_code: string;
965
- full_name: string;
966
- name: string;
967
- id: string;
968
- place_type: string;
969
- url: string;
970
- };
953
+ in_reply_to_screen_name?: string;
954
+ in_reply_to_status_id_str?: string;
955
+ in_reply_to_user_id_str?: string;
971
956
  };
972
957
  quoted_status_result?: {
973
958
  result: {
@@ -1040,10 +1025,10 @@ export interface CustomUserTweetEntry {
1040
1025
  screen_name: string;
1041
1026
  statuses_count: number;
1042
1027
  translator_type: string;
1028
+ url?: string;
1043
1029
  verified: boolean;
1044
1030
  want_retweets: boolean;
1045
1031
  withheld_in_countries: unknown[];
1046
- url?: string;
1047
1032
  verified_type?: string;
1048
1033
  };
1049
1034
  professional?: {
@@ -1059,60 +1044,203 @@ export interface CustomUserTweetEntry {
1059
1044
  };
1060
1045
  };
1061
1046
  };
1062
- edit_control?: {
1063
- edit_tweet_ids?: string[];
1064
- editable_until_msecs?: string;
1065
- is_edit_eligible?: boolean;
1066
- edits_remaining?: string;
1067
- initial_tweet_id?: string;
1068
- edit_control_initial?: {
1069
- edit_tweet_ids: string[];
1070
- editable_until_msecs: string;
1071
- is_edit_eligible: boolean;
1072
- edits_remaining: string;
1073
- };
1074
- };
1075
- edit_perspective?: {
1076
- favorited: boolean;
1077
- retweeted: boolean;
1078
- };
1079
- is_translatable?: boolean;
1080
- views?: {
1081
- count?: string;
1082
- state: string;
1083
- };
1084
- source?: string;
1085
- legacy?: {
1086
- bookmark_count: number;
1087
- bookmarked: boolean;
1088
- created_at: string;
1089
- conversation_id_str: string;
1090
- display_text_range: number[];
1091
- entities: {
1092
- media?: {
1093
- display_url: string;
1094
- expanded_url: string;
1095
- id_str: string;
1096
- indices: number[];
1097
- media_url_https: string;
1098
- type: string;
1099
- url: string;
1100
- features: {
1101
- large?: {
1102
- faces: {
1103
- x: number;
1104
- y: number;
1105
- h: number;
1106
- w: number;
1107
- }[];
1108
- };
1109
- medium?: {
1110
- faces: {
1111
- x: number;
1112
- y: number;
1113
- h: number;
1114
- w: number;
1115
- }[];
1047
+ card?: {
1048
+ rest_id: string;
1049
+ legacy: {
1050
+ binding_values: {
1051
+ key: string;
1052
+ value: {
1053
+ image_value?: {
1054
+ alt?: string;
1055
+ height: number;
1056
+ width: number;
1057
+ url: string;
1058
+ };
1059
+ type: string;
1060
+ string_value?: string;
1061
+ scribe_key?: string;
1062
+ image_color_value?: {
1063
+ palette: {
1064
+ rgb: {
1065
+ blue: number;
1066
+ green: number;
1067
+ red: number;
1068
+ };
1069
+ percentage: number;
1070
+ }[];
1071
+ };
1072
+ user_value?: {
1073
+ id_str: string;
1074
+ path: unknown[];
1075
+ };
1076
+ boolean_value?: boolean;
1077
+ };
1078
+ }[];
1079
+ card_platform: {
1080
+ platform: {
1081
+ audience: {
1082
+ name: string;
1083
+ };
1084
+ device: {
1085
+ name: string;
1086
+ version: string;
1087
+ };
1088
+ };
1089
+ };
1090
+ name: string;
1091
+ url: string;
1092
+ user_refs_results: {
1093
+ result: {
1094
+ __typename: string;
1095
+ id: string;
1096
+ rest_id: string;
1097
+ affiliates_highlighted_label: {
1098
+ label: {
1099
+ url: {
1100
+ url: string;
1101
+ urlType: string;
1102
+ };
1103
+ badge: {
1104
+ url: string;
1105
+ };
1106
+ description: string;
1107
+ userLabelType: string;
1108
+ userLabelDisplayType: string;
1109
+ };
1110
+ };
1111
+ has_graduated_access: boolean;
1112
+ is_blue_verified: boolean;
1113
+ profile_image_shape: string;
1114
+ legacy: {
1115
+ can_dm: boolean;
1116
+ can_media_tag: boolean;
1117
+ created_at: string;
1118
+ default_profile: boolean;
1119
+ default_profile_image: boolean;
1120
+ description: string;
1121
+ entities: {
1122
+ description: {
1123
+ urls: unknown[];
1124
+ };
1125
+ url: {
1126
+ urls: {
1127
+ display_url: string;
1128
+ expanded_url: string;
1129
+ url: string;
1130
+ indices: number[];
1131
+ }[];
1132
+ };
1133
+ };
1134
+ fast_followers_count: number;
1135
+ favourites_count: number;
1136
+ followers_count: number;
1137
+ friends_count: number;
1138
+ has_custom_timelines: boolean;
1139
+ is_translator: boolean;
1140
+ listed_count: number;
1141
+ location: string;
1142
+ media_count: number;
1143
+ name: string;
1144
+ normal_followers_count: number;
1145
+ pinned_tweet_ids_str: unknown[];
1146
+ possibly_sensitive: boolean;
1147
+ profile_banner_url: string;
1148
+ profile_image_url_https: string;
1149
+ profile_interstitial_type: string;
1150
+ screen_name: string;
1151
+ statuses_count: number;
1152
+ translator_type: string;
1153
+ url: string;
1154
+ verified: boolean;
1155
+ verified_type: string;
1156
+ want_retweets: boolean;
1157
+ withheld_in_countries: unknown[];
1158
+ };
1159
+ };
1160
+ }[];
1161
+ };
1162
+ };
1163
+ unified_card?: {
1164
+ card_fetch_state: string;
1165
+ };
1166
+ edit_control?: {
1167
+ initial_tweet_id?: string;
1168
+ edit_control_initial?: {
1169
+ edit_tweet_ids: string[];
1170
+ editable_until_msecs: string;
1171
+ is_edit_eligible: boolean;
1172
+ edits_remaining: string;
1173
+ };
1174
+ edit_tweet_ids?: string[];
1175
+ editable_until_msecs?: string;
1176
+ is_edit_eligible?: boolean;
1177
+ edits_remaining?: string;
1178
+ };
1179
+ edit_perspective?: {
1180
+ favorited: boolean;
1181
+ retweeted: boolean;
1182
+ };
1183
+ previous_counts?: {
1184
+ bookmark_count: number;
1185
+ favorite_count: number;
1186
+ quote_count: number;
1187
+ reply_count: number;
1188
+ retweet_count: number;
1189
+ };
1190
+ is_translatable?: boolean;
1191
+ views?: {
1192
+ count: string;
1193
+ state: string;
1194
+ };
1195
+ source?: string;
1196
+ legacy?: {
1197
+ bookmark_count: number;
1198
+ bookmarked: boolean;
1199
+ created_at: string;
1200
+ conversation_id_str: string;
1201
+ display_text_range: number[];
1202
+ entities: {
1203
+ user_mentions: {
1204
+ id_str: string;
1205
+ name: string;
1206
+ screen_name: string;
1207
+ indices: number[];
1208
+ }[];
1209
+ urls: {
1210
+ display_url: string;
1211
+ expanded_url: string;
1212
+ url: string;
1213
+ indices: number[];
1214
+ }[];
1215
+ hashtags: {
1216
+ indices: number[];
1217
+ text: string;
1218
+ }[];
1219
+ symbols: unknown[];
1220
+ media?: {
1221
+ display_url: string;
1222
+ expanded_url: string;
1223
+ id_str: string;
1224
+ indices: number[];
1225
+ media_url_https: string;
1226
+ type: string;
1227
+ url: string;
1228
+ features: {
1229
+ large?: {
1230
+ faces: {
1231
+ x: number;
1232
+ y: number;
1233
+ h: number;
1234
+ w: number;
1235
+ }[];
1236
+ };
1237
+ medium?: {
1238
+ faces: {
1239
+ x: number;
1240
+ y: number;
1241
+ h: number;
1242
+ w: number;
1243
+ }[];
1116
1244
  };
1117
1245
  small?: {
1118
1246
  faces: {
@@ -1172,24 +1300,20 @@ export interface CustomUserTweetEntry {
1172
1300
  }[];
1173
1301
  };
1174
1302
  }[];
1175
- user_mentions: {
1176
- id_str: string;
1177
- name: string;
1178
- screen_name: string;
1179
- indices: number[];
1180
- }[];
1181
- urls: {
1182
- display_url: string;
1183
- expanded_url: string;
1184
- url: string;
1185
- indices: number[];
1186
- }[];
1187
- hashtags: {
1188
- indices: number[];
1189
- text: string;
1190
- }[];
1191
- symbols: unknown[];
1192
1303
  };
1304
+ favorite_count: number;
1305
+ favorited: boolean;
1306
+ full_text: string;
1307
+ is_quote_status: boolean;
1308
+ lang: string;
1309
+ possibly_sensitive?: boolean;
1310
+ possibly_sensitive_editable?: boolean;
1311
+ quote_count: number;
1312
+ reply_count: number;
1313
+ retweet_count: number;
1314
+ retweeted: boolean;
1315
+ user_id_str: string;
1316
+ id_str: string;
1193
1317
  extended_entities?: {
1194
1318
  media: {
1195
1319
  display_url: string;
@@ -1200,12 +1324,6 @@ export interface CustomUserTweetEntry {
1200
1324
  media_url_https: string;
1201
1325
  type: string;
1202
1326
  url: string;
1203
- additional_media_info?: {
1204
- monetizable: boolean;
1205
- };
1206
- mediaStats?: {
1207
- viewCount: number;
1208
- };
1209
1327
  ext_media_availability: {
1210
1328
  status: string;
1211
1329
  };
@@ -1283,6 +1401,12 @@ export interface CustomUserTweetEntry {
1283
1401
  h: number;
1284
1402
  }[];
1285
1403
  };
1404
+ additional_media_info?: {
1405
+ monetizable: boolean;
1406
+ };
1407
+ mediaStats?: {
1408
+ viewCount: number;
1409
+ };
1286
1410
  video_info?: {
1287
1411
  aspect_ratio: number[];
1288
1412
  duration_millis: number;
@@ -1294,163 +1418,16 @@ export interface CustomUserTweetEntry {
1294
1418
  };
1295
1419
  }[];
1296
1420
  };
1297
- favorite_count: number;
1298
- favorited: boolean;
1299
- full_text: string;
1300
- is_quote_status: boolean;
1301
- lang: string;
1302
- possibly_sensitive?: boolean;
1303
- possibly_sensitive_editable?: boolean;
1304
- quote_count: number;
1305
- reply_count: number;
1306
- retweet_count: number;
1307
- retweeted: boolean;
1308
- user_id_str: string;
1309
- id_str: string;
1310
1421
  quoted_status_id_str?: string;
1311
1422
  quoted_status_permalink?: {
1312
1423
  url: string;
1313
1424
  expanded: string;
1314
1425
  display: string;
1315
1426
  };
1316
- place?: {
1317
- attributes: {};
1318
- bounding_box: {
1319
- coordinates: number[][][];
1320
- type: string;
1321
- };
1322
- contained_within: unknown[];
1323
- country: string;
1324
- country_code: string;
1325
- full_name: string;
1326
- name: string;
1327
- id: string;
1328
- place_type: string;
1329
- url: string;
1330
- };
1331
1427
  in_reply_to_screen_name?: string;
1332
1428
  in_reply_to_status_id_str?: string;
1333
1429
  in_reply_to_user_id_str?: string;
1334
1430
  };
1335
- card?: {
1336
- rest_id: string;
1337
- legacy: {
1338
- binding_values: {
1339
- key: string;
1340
- value: {
1341
- image_value?: {
1342
- height: number;
1343
- width: number;
1344
- url: string;
1345
- alt?: string;
1346
- };
1347
- type: string;
1348
- string_value?: string;
1349
- scribe_key?: string;
1350
- user_value?: {
1351
- id_str: string;
1352
- path: unknown[];
1353
- };
1354
- image_color_value?: {
1355
- palette: {
1356
- rgb: {
1357
- blue: number;
1358
- green: number;
1359
- red: number;
1360
- };
1361
- percentage: number;
1362
- }[];
1363
- };
1364
- boolean_value?: boolean;
1365
- };
1366
- }[];
1367
- card_platform: {
1368
- platform: {
1369
- audience: {
1370
- name: string;
1371
- };
1372
- device: {
1373
- name: string;
1374
- version: string;
1375
- };
1376
- };
1377
- };
1378
- name: string;
1379
- url: string;
1380
- user_refs_results: {
1381
- result: {
1382
- __typename: string;
1383
- id: string;
1384
- rest_id: string;
1385
- affiliates_highlighted_label: {
1386
- label: {
1387
- url: {
1388
- url: string;
1389
- urlType: string;
1390
- };
1391
- badge: {
1392
- url: string;
1393
- };
1394
- description: string;
1395
- userLabelType: string;
1396
- userLabelDisplayType: string;
1397
- };
1398
- };
1399
- has_graduated_access: boolean;
1400
- is_blue_verified: boolean;
1401
- profile_image_shape: string;
1402
- legacy: {
1403
- can_dm: boolean;
1404
- can_media_tag: boolean;
1405
- created_at: string;
1406
- default_profile: boolean;
1407
- default_profile_image: boolean;
1408
- description: string;
1409
- entities: {
1410
- description: {
1411
- urls: unknown[];
1412
- };
1413
- url: {
1414
- urls: {
1415
- display_url: string;
1416
- expanded_url: string;
1417
- url: string;
1418
- indices: number[];
1419
- }[];
1420
- };
1421
- };
1422
- fast_followers_count: number;
1423
- favourites_count: number;
1424
- followers_count: number;
1425
- friends_count: number;
1426
- has_custom_timelines: boolean;
1427
- is_translator: boolean;
1428
- listed_count: number;
1429
- location: string;
1430
- media_count: number;
1431
- name: string;
1432
- normal_followers_count: number;
1433
- pinned_tweet_ids_str: unknown[];
1434
- possibly_sensitive: boolean;
1435
- profile_banner_url: string;
1436
- profile_image_url_https: string;
1437
- profile_interstitial_type: string;
1438
- screen_name: string;
1439
- statuses_count: number;
1440
- translator_type: string;
1441
- url: string;
1442
- verified: boolean;
1443
- verified_type: string;
1444
- want_retweets: boolean;
1445
- withheld_in_countries: unknown[];
1446
- };
1447
- };
1448
- }[];
1449
- };
1450
- };
1451
- unified_card?: {
1452
- card_fetch_state: string;
1453
- };
1454
1431
  quotedRefResult?: {
1455
1432
  result: {
1456
1433
  __typename: string;
@@ -1473,37 +1450,6 @@ export interface CustomUserTweetEntry {
1473
1450
  }[];
1474
1451
  };
1475
1452
  };
1476
- note_tweet?: {
1477
- is_expandable: boolean;
1478
- note_tweet_results: {
1479
- result: {
1480
- id: string;
1481
- text: string;
1482
- entity_set: {
1483
- user_mentions: unknown[];
1484
- urls: unknown[];
1485
- hashtags: {
1486
- indices: number[];
1487
- text: string;
1488
- }[];
1489
- symbols: unknown[];
1490
- };
1491
- richtext: {
1492
- richtext_tags: unknown[];
1493
- };
1494
- media: {
1495
- inline_media: unknown[];
1496
- };
1497
- };
1498
- };
1499
- };
1500
- previous_counts?: {
1501
- bookmark_count: number;
1502
- favorite_count: number;
1503
- quote_count: number;
1504
- reply_count: number;
1505
- retweet_count: number;
1506
- };
1507
1453
  tweet?: {
1508
1454
  rest_id: string;
1509
1455
  core: {
@@ -1750,146 +1696,52 @@ export interface CustomUserTweetEntry {
1750
1696
  };
1751
1697
  };
1752
1698
  };
1753
- note_tweet?: {
1754
- is_expandable: boolean;
1755
- note_tweet_results: {
1756
- result: {
1757
- id: string;
1758
- text: string;
1759
- entity_set: {
1760
- user_mentions: {
1761
- id_str: string;
1762
- name: string;
1763
- screen_name: string;
1764
- indices: number[];
1765
- }[];
1766
- urls: {
1767
- display_url: string;
1768
- expanded_url: string;
1699
+ card?: {
1700
+ rest_id: string;
1701
+ legacy: {
1702
+ binding_values: {
1703
+ key: string;
1704
+ value: {
1705
+ string_value?: string;
1706
+ type: string;
1707
+ scribe_key?: string;
1708
+ image_value?: {
1709
+ height: number;
1710
+ width: number;
1769
1711
  url: string;
1770
- indices: number[];
1771
- }[];
1772
- hashtags: {
1773
- indices: number[];
1774
- text: string;
1775
- }[];
1776
- symbols: unknown[];
1777
- };
1778
- richtext: {
1779
- richtext_tags: {
1780
- from_index: number;
1781
- to_index: number;
1782
- richtext_types: string[];
1783
- }[];
1712
+ alt?: string;
1713
+ };
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
+ boolean_value?: boolean;
1784
1729
  };
1785
- media: {
1786
- inline_media: unknown[];
1730
+ }[];
1731
+ card_platform: {
1732
+ platform: {
1733
+ audience: {
1734
+ name: string;
1735
+ };
1736
+ device: {
1737
+ name: string;
1738
+ version: string;
1739
+ };
1787
1740
  };
1788
1741
  };
1789
- };
1790
- };
1791
- previous_counts?: {
1792
- bookmark_count: number;
1793
- favorite_count: number;
1794
- quote_count: number;
1795
- reply_count: number;
1796
- retweet_count: number;
1797
- };
1798
- };
1799
- };
1800
- extended_entities?: {
1801
- media: {
1802
- display_url: string;
1803
- expanded_url: string;
1804
- id_str: string;
1805
- indices: number[];
1806
- media_key: string;
1807
- media_url_https: string;
1808
- source_status_id_str?: string;
1809
- source_user_id_str?: string;
1810
- type: string;
1811
- url: string;
1812
- ext_media_availability: {
1813
- status: string;
1814
- };
1815
- features: {
1816
- large?: {
1817
- faces: {
1818
- x: number;
1819
- y: number;
1820
- h: number;
1821
- w: number;
1822
- }[];
1823
- };
1824
- medium?: {
1825
- faces: {
1826
- x: number;
1827
- y: number;
1828
- h: number;
1829
- w: number;
1830
- }[];
1831
- };
1832
- small?: {
1833
- faces: {
1834
- x: number;
1835
- y: number;
1836
- h: number;
1837
- w: number;
1838
- }[];
1839
- };
1840
- orig?: {
1841
- faces: {
1842
- x: number;
1843
- y: number;
1844
- h: number;
1845
- w: number;
1846
- }[];
1847
- };
1848
- all?: {
1849
- tags: {
1850
- user_id: string;
1851
- name: string;
1852
- screen_name: string;
1853
- type: string;
1854
- }[];
1855
- };
1856
- };
1857
- sizes: {
1858
- large: {
1859
- h: number;
1860
- w: number;
1861
- resize: string;
1862
- };
1863
- medium: {
1864
- h: number;
1865
- w: number;
1866
- resize: string;
1867
- };
1868
- small: {
1869
- h: number;
1870
- w: number;
1871
- resize: string;
1872
- };
1873
- thumb: {
1874
- h: number;
1875
- w: number;
1876
- resize: string;
1877
- };
1878
- };
1879
- original_info: {
1880
- height: number;
1881
- width: number;
1882
- focus_rects?: {
1883
- x: number;
1884
- y: number;
1885
- w: number;
1886
- h: number;
1887
- }[];
1888
- };
1889
- additional_media_info?: {
1890
- monetizable: boolean;
1891
- source_user: {
1892
- user_results: {
1742
+ name: string;
1743
+ url: string;
1744
+ user_refs_results: {
1893
1745
  result: {
1894
1746
  __typename: string;
1895
1747
  id: string;
@@ -1971,25 +1823,58 @@ export interface CustomUserTweetEntry {
1971
1823
  }[];
1972
1824
  };
1973
1825
  };
1974
- };
1826
+ }[];
1975
1827
  };
1976
- title?: string;
1977
- description?: string;
1978
- embeddable?: boolean;
1979
1828
  };
1980
- mediaStats?: {
1981
- viewCount: number;
1829
+ unified_card?: {
1830
+ card_fetch_state: string;
1982
1831
  };
1983
- video_info?: {
1984
- aspect_ratio: number[];
1985
- duration_millis?: number;
1986
- variants: {
1987
- bitrate?: number;
1988
- content_type: string;
1989
- url: string;
1990
- }[];
1832
+ note_tweet?: {
1833
+ is_expandable: boolean;
1834
+ note_tweet_results: {
1835
+ result: {
1836
+ id: string;
1837
+ text: string;
1838
+ entity_set: {
1839
+ user_mentions: {
1840
+ id_str: string;
1841
+ name: string;
1842
+ screen_name: string;
1843
+ indices: number[];
1844
+ }[];
1845
+ urls: {
1846
+ display_url: string;
1847
+ expanded_url: string;
1848
+ url: string;
1849
+ indices: number[];
1850
+ }[];
1851
+ hashtags: {
1852
+ indices: number[];
1853
+ text: string;
1854
+ }[];
1855
+ symbols: unknown[];
1856
+ };
1857
+ richtext: {
1858
+ richtext_tags: {
1859
+ from_index: number;
1860
+ to_index: number;
1861
+ richtext_types: string[];
1862
+ }[];
1863
+ };
1864
+ media: {
1865
+ inline_media: unknown[];
1866
+ };
1867
+ };
1868
+ };
1991
1869
  };
1992
- }[];
1870
+ previous_counts?: {
1871
+ bookmark_count: number;
1872
+ favorite_count: number;
1873
+ quote_count: number;
1874
+ reply_count: number;
1875
+ retweet_count: number;
1876
+ };
1877
+ };
1993
1878
  };
1994
1879
  quoted_status_id_str?: string;
1995
1880
  quoted_status_permalink?: {
@@ -1997,9 +1882,6 @@ export interface CustomUserTweetEntry {
1997
1882
  expanded: string;
1998
1883
  display: string;
1999
1884
  };
2000
- in_reply_to_screen_name?: string;
2001
- in_reply_to_status_id_str?: string;
2002
- in_reply_to_user_id_str?: string;
2003
1885
  coordinates?: {
2004
1886
  type: string;
2005
1887
  coordinates: number[];
@@ -2027,614 +1909,258 @@ export interface CustomUserTweetEntry {
2027
1909
  quick_promote_eligibility?: {
2028
1910
  eligibility: string;
2029
1911
  };
2030
- tweet?: {
2031
- rest_id: string;
2032
- core: {
2033
- user_results: {
2034
- result: {
2035
- __typename: string;
2036
- id: string;
2037
- rest_id: string;
2038
- affiliates_highlighted_label: {
2039
- label?: {
2040
- url: {
2041
- url: string;
2042
- urlType: string;
2043
- };
2044
- badge: {
2045
- url: string;
1912
+ quoted_status_result?: {
1913
+ result: {
1914
+ __typename: string;
1915
+ rest_id?: string;
1916
+ core?: {
1917
+ user_results: {
1918
+ result: {
1919
+ __typename: string;
1920
+ id: string;
1921
+ rest_id: string;
1922
+ affiliates_highlighted_label: {
1923
+ label?: {
1924
+ url: {
1925
+ url: string;
1926
+ urlType: string;
1927
+ };
1928
+ badge: {
1929
+ url: string;
1930
+ };
1931
+ description: string;
1932
+ userLabelType: string;
1933
+ userLabelDisplayType: string;
2046
1934
  };
2047
- description: string;
2048
- userLabelType: string;
2049
- userLabelDisplayType: string;
2050
1935
  };
2051
- };
2052
- has_graduated_access: boolean;
2053
- is_blue_verified: boolean;
2054
- profile_image_shape: string;
2055
- legacy: {
2056
- followed_by?: boolean;
2057
- can_dm: boolean;
2058
- can_media_tag: boolean;
2059
- created_at: string;
2060
- default_profile: boolean;
2061
- default_profile_image: boolean;
2062
- description: string;
2063
- entities: {
2064
- description: {
2065
- urls: unknown[];
2066
- };
2067
- url?: {
2068
- urls: {
2069
- display_url: string;
2070
- expanded_url: string;
2071
- url: string;
2072
- indices: number[];
2073
- }[];
1936
+ has_graduated_access: boolean;
1937
+ is_blue_verified: boolean;
1938
+ profile_image_shape: string;
1939
+ legacy: {
1940
+ can_dm: boolean;
1941
+ can_media_tag: boolean;
1942
+ created_at: string;
1943
+ default_profile: boolean;
1944
+ default_profile_image: boolean;
1945
+ description: string;
1946
+ entities: {
1947
+ description: {
1948
+ urls: {
1949
+ display_url: string;
1950
+ expanded_url: string;
1951
+ url: string;
1952
+ indices: number[];
1953
+ }[];
1954
+ };
1955
+ url?: {
1956
+ urls: {
1957
+ display_url: string;
1958
+ expanded_url: string;
1959
+ url: string;
1960
+ indices: number[];
1961
+ }[];
1962
+ };
2074
1963
  };
1964
+ fast_followers_count: number;
1965
+ favourites_count: number;
1966
+ followers_count: number;
1967
+ friends_count: number;
1968
+ has_custom_timelines: boolean;
1969
+ is_translator: boolean;
1970
+ listed_count: number;
1971
+ location: string;
1972
+ media_count: number;
1973
+ name: string;
1974
+ normal_followers_count: number;
1975
+ pinned_tweet_ids_str: string[];
1976
+ possibly_sensitive: boolean;
1977
+ profile_image_url_https: string;
1978
+ profile_interstitial_type: string;
1979
+ screen_name: string;
1980
+ statuses_count: number;
1981
+ translator_type: string;
1982
+ url?: string;
1983
+ verified: boolean;
1984
+ want_retweets: boolean;
1985
+ withheld_in_countries: unknown[];
1986
+ profile_banner_url?: string;
1987
+ verified_type?: string;
1988
+ blocking?: boolean;
2075
1989
  };
2076
- fast_followers_count: number;
2077
- favourites_count: number;
2078
- followers_count: number;
2079
- friends_count: number;
2080
- has_custom_timelines: boolean;
2081
- is_translator: boolean;
2082
- listed_count: number;
2083
- location: string;
2084
- media_count: number;
2085
- name: string;
2086
- normal_followers_count: number;
2087
- pinned_tweet_ids_str: string[];
2088
- possibly_sensitive: boolean;
2089
- profile_banner_url: string;
2090
- profile_image_url_https: string;
2091
- profile_interstitial_type: string;
2092
- screen_name: string;
2093
- statuses_count: number;
2094
- translator_type: string;
2095
- verified: boolean;
2096
- want_retweets: boolean;
2097
- withheld_in_countries: unknown[];
2098
- url?: string;
2099
- };
2100
- professional?: {
2101
- rest_id: string;
2102
- professional_type: string;
2103
- category: {
2104
- id: number;
2105
- name: string;
2106
- icon_name: string;
2107
- }[];
2108
- };
2109
- super_follow_eligible?: boolean;
2110
- };
2111
- };
2112
- };
2113
- edit_control: {
2114
- edit_tweet_ids: string[];
2115
- editable_until_msecs: string;
2116
- is_edit_eligible: boolean;
2117
- edits_remaining: string;
2118
- };
2119
- edit_perspective?: {
2120
- favorited: boolean;
2121
- retweeted: boolean;
2122
- };
2123
- is_translatable: boolean;
2124
- views: {
2125
- state: string;
2126
- count?: string;
2127
- };
2128
- source: string;
2129
- legacy: {
2130
- bookmark_count: number;
2131
- bookmarked: boolean;
2132
- created_at: string;
2133
- conversation_control?: {
2134
- policy: string;
2135
- conversation_owner_results: {
2136
- result: {
2137
- __typename: string;
2138
- legacy: {
2139
- screen_name: string;
1990
+ professional?: {
1991
+ rest_id: string;
1992
+ professional_type: string;
1993
+ category: {
1994
+ id: number;
1995
+ name: string;
1996
+ icon_name: string;
1997
+ }[];
2140
1998
  };
1999
+ super_follow_eligible?: boolean;
2141
2000
  };
2142
2001
  };
2143
2002
  };
2144
- conversation_id_str: string;
2145
- display_text_range: number[];
2146
- entities: {
2147
- user_mentions: {
2148
- id_str: string;
2149
- name: string;
2150
- screen_name: string;
2151
- indices: number[];
2152
- }[];
2153
- urls: {
2154
- display_url: string;
2155
- expanded_url: string;
2156
- url: string;
2157
- indices: number[];
2158
- }[];
2159
- hashtags: unknown[];
2160
- symbols: unknown[];
2003
+ edit_control?: {
2004
+ edit_tweet_ids: string[];
2005
+ editable_until_msecs: string;
2006
+ is_edit_eligible: boolean;
2007
+ edits_remaining: string;
2161
2008
  };
2162
- favorite_count: number;
2163
- favorited: boolean;
2164
- full_text: string;
2165
- is_quote_status: boolean;
2166
- lang: string;
2167
- limited_actions: string;
2168
- quote_count: number;
2169
- reply_count: number;
2170
- retweet_count: number;
2171
- retweeted: boolean;
2172
- user_id_str: string;
2173
- id_str: string;
2174
- retweeted_status_result: {
2009
+ edit_perspective?: {
2010
+ favorited: boolean;
2011
+ retweeted: boolean;
2012
+ };
2013
+ is_translatable?: boolean;
2014
+ views?: {
2015
+ count: string;
2016
+ state: string;
2017
+ };
2018
+ source?: string;
2019
+ quotedRefResult?: {
2175
2020
  result: {
2176
2021
  __typename: string;
2177
- tweet: {
2022
+ rest_id?: string;
2023
+ tweet?: {
2178
2024
  rest_id: string;
2179
- core: {
2180
- user_results: {
2181
- result: {
2182
- __typename: string;
2183
- id: string;
2184
- rest_id: string;
2185
- affiliates_highlighted_label: {};
2186
- has_graduated_access: boolean;
2187
- is_blue_verified: boolean;
2188
- profile_image_shape: string;
2189
- legacy: {
2190
- can_dm: boolean;
2191
- can_media_tag: boolean;
2192
- created_at: string;
2193
- default_profile: boolean;
2194
- default_profile_image: boolean;
2195
- description: string;
2196
- entities: {
2197
- description: {
2198
- urls: unknown[];
2199
- };
2200
- url: {
2201
- urls: {
2202
- display_url: string;
2203
- expanded_url: string;
2204
- url: string;
2205
- indices: number[];
2206
- }[];
2207
- };
2208
- };
2209
- fast_followers_count: number;
2210
- favourites_count: number;
2211
- followers_count: number;
2212
- friends_count: number;
2213
- has_custom_timelines: boolean;
2214
- is_translator: boolean;
2215
- listed_count: number;
2216
- location: string;
2217
- media_count: number;
2218
- name: string;
2219
- normal_followers_count: number;
2220
- pinned_tweet_ids_str: string[];
2221
- possibly_sensitive: boolean;
2222
- profile_banner_url: string;
2223
- profile_image_url_https: string;
2224
- profile_interstitial_type: string;
2225
- screen_name: string;
2226
- statuses_count: number;
2227
- translator_type: string;
2228
- url: string;
2229
- verified: boolean;
2230
- want_retweets: boolean;
2231
- withheld_in_countries: unknown[];
2232
- verified_type?: string;
2233
- };
2234
- professional?: {
2235
- rest_id: string;
2236
- professional_type: string;
2237
- category: unknown[];
2238
- };
2239
- };
2025
+ };
2026
+ };
2027
+ };
2028
+ legacy?: {
2029
+ bookmark_count: number;
2030
+ bookmarked: boolean;
2031
+ created_at: string;
2032
+ conversation_id_str: string;
2033
+ display_text_range: number[];
2034
+ entities: {
2035
+ user_mentions: {
2036
+ id_str: string;
2037
+ name: string;
2038
+ screen_name: string;
2039
+ indices: number[];
2040
+ }[];
2041
+ urls: {
2042
+ display_url: string;
2043
+ expanded_url: string;
2044
+ url: string;
2045
+ indices: number[];
2046
+ }[];
2047
+ hashtags: unknown[];
2048
+ symbols: unknown[];
2049
+ media?: {
2050
+ display_url: string;
2051
+ expanded_url: string;
2052
+ id_str: string;
2053
+ indices: number[];
2054
+ media_url_https: string;
2055
+ type: string;
2056
+ url: string;
2057
+ features: {
2058
+ large?: {
2059
+ faces: {
2060
+ x: number;
2061
+ y: number;
2062
+ h: number;
2063
+ w: number;
2064
+ }[];
2240
2065
  };
2241
- };
2242
- edit_control: {
2243
- edit_tweet_ids: string[];
2244
- editable_until_msecs: string;
2245
- is_edit_eligible: boolean;
2246
- edits_remaining: string;
2247
- };
2248
- edit_perspective?: {
2249
- favorited: boolean;
2250
- retweeted: boolean;
2251
- };
2252
- is_translatable: boolean;
2253
- views: {
2254
- count?: string;
2255
- state: string;
2256
- };
2257
- source: string;
2258
- legacy: {
2259
- bookmark_count: number;
2260
- bookmarked: boolean;
2261
- created_at: string;
2262
- conversation_control?: {
2263
- policy: string;
2264
- conversation_owner_results: {
2265
- result: {
2266
- __typename: string;
2267
- legacy: {
2268
- screen_name: string;
2269
- };
2270
- };
2271
- };
2066
+ medium?: {
2067
+ faces: {
2068
+ x: number;
2069
+ y: number;
2070
+ h: number;
2071
+ w: number;
2072
+ }[];
2272
2073
  };
2273
- conversation_id_str: string;
2274
- display_text_range: number[];
2275
- entities: {
2276
- user_mentions: unknown[];
2277
- urls: {
2278
- display_url: string;
2279
- expanded_url: string;
2280
- url: string;
2281
- indices: number[];
2282
- }[];
2283
- hashtags: unknown[];
2284
- symbols: unknown[];
2285
- media?: {
2286
- display_url: string;
2287
- expanded_url: string;
2288
- id_str: string;
2289
- indices: number[];
2290
- media_url_https: string;
2291
- type: string;
2292
- url: string;
2293
- features: {
2294
- large: {
2295
- faces: unknown[];
2296
- };
2297
- medium: {
2298
- faces: unknown[];
2299
- };
2300
- small: {
2301
- faces: unknown[];
2302
- };
2303
- orig: {
2304
- faces: unknown[];
2305
- };
2306
- };
2307
- sizes: {
2308
- large: {
2309
- h: number;
2310
- w: number;
2311
- resize: string;
2312
- };
2313
- medium: {
2314
- h: number;
2315
- w: number;
2316
- resize: string;
2317
- };
2318
- small: {
2319
- h: number;
2320
- w: number;
2321
- resize: string;
2322
- };
2323
- thumb: {
2324
- h: number;
2325
- w: number;
2326
- resize: string;
2327
- };
2328
- };
2329
- original_info: {
2330
- height: number;
2331
- width: number;
2332
- focus_rects: {
2333
- x: number;
2334
- y: number;
2335
- w: number;
2336
- h: number;
2337
- }[];
2338
- };
2074
+ small?: {
2075
+ faces: {
2076
+ x: number;
2077
+ y: number;
2078
+ h: number;
2079
+ w: number;
2339
2080
  }[];
2340
2081
  };
2341
- favorite_count: number;
2342
- favorited: boolean;
2343
- full_text: string;
2344
- is_quote_status: boolean;
2345
- lang: string;
2346
- limited_actions: string;
2347
- quote_count: number;
2348
- reply_count: number;
2349
- retweet_count: number;
2350
- retweeted: boolean;
2351
- user_id_str: string;
2352
- id_str: string;
2353
- extended_entities?: {
2354
- media: {
2355
- display_url: string;
2356
- expanded_url: string;
2357
- id_str: string;
2358
- indices: number[];
2359
- media_key: string;
2360
- media_url_https: string;
2361
- type: string;
2362
- url: string;
2363
- ext_media_availability: {
2364
- status: string;
2365
- };
2366
- features: {
2367
- large: {
2368
- faces: unknown[];
2369
- };
2370
- medium: {
2371
- faces: unknown[];
2372
- };
2373
- small: {
2374
- faces: unknown[];
2375
- };
2376
- orig: {
2377
- faces: unknown[];
2378
- };
2379
- };
2380
- sizes: {
2381
- large: {
2382
- h: number;
2383
- w: number;
2384
- resize: string;
2385
- };
2386
- medium: {
2387
- h: number;
2388
- w: number;
2389
- resize: string;
2390
- };
2391
- small: {
2392
- h: number;
2393
- w: number;
2394
- resize: string;
2395
- };
2396
- thumb: {
2397
- h: number;
2398
- w: number;
2399
- resize: string;
2400
- };
2401
- };
2402
- original_info: {
2403
- height: number;
2404
- width: number;
2405
- focus_rects: {
2406
- x: number;
2407
- y: number;
2408
- w: number;
2409
- h: number;
2410
- }[];
2411
- };
2082
+ orig?: {
2083
+ faces: {
2084
+ x: number;
2085
+ y: number;
2086
+ h: number;
2087
+ w: number;
2412
2088
  }[];
2413
2089
  };
2414
- possibly_sensitive?: boolean;
2415
- possibly_sensitive_editable?: boolean;
2416
2090
  };
2417
- note_tweet?: {
2418
- is_expandable: boolean;
2419
- note_tweet_results: {
2420
- result: {
2421
- id: string;
2422
- text: string;
2423
- entity_set: {
2424
- user_mentions: unknown[];
2425
- urls: {
2426
- display_url: string;
2427
- expanded_url: string;
2428
- url: string;
2429
- indices: number[];
2430
- }[];
2431
- hashtags: unknown[];
2432
- symbols: unknown[];
2433
- };
2434
- richtext: {
2435
- richtext_tags: {
2436
- from_index: number;
2437
- to_index: number;
2438
- richtext_types: string[];
2439
- }[];
2440
- };
2441
- media: {
2442
- inline_media: {
2443
- media_id: string;
2444
- index: number;
2445
- }[];
2446
- };
2447
- };
2091
+ sizes: {
2092
+ large: {
2093
+ h: number;
2094
+ w: number;
2095
+ resize: string;
2448
2096
  };
2449
- };
2450
- };
2451
- limitedActionResults: {
2452
- limited_actions: {
2453
- action: string;
2454
- prompt?: {
2455
- __typename: string;
2456
- cta_type: string;
2457
- headline: {
2458
- text: string;
2459
- entities: unknown[];
2460
- };
2461
- subtext: {
2462
- text: string;
2463
- entities: unknown[];
2464
- };
2097
+ medium: {
2098
+ h: number;
2099
+ w: number;
2100
+ resize: string;
2465
2101
  };
2466
- }[];
2467
- };
2468
- };
2469
- };
2470
- possibly_sensitive?: boolean;
2471
- possibly_sensitive_editable?: boolean;
2472
- };
2473
- quick_promote_eligibility: {
2474
- eligibility: string;
2475
- };
2476
- };
2477
- limitedActionResults?: {
2478
- limited_actions: {
2479
- action: string;
2480
- prompt?: {
2481
- __typename: string;
2482
- cta_type: string;
2483
- headline: {
2484
- text: string;
2485
- entities: unknown[];
2102
+ small: {
2103
+ h: number;
2104
+ w: number;
2105
+ resize: string;
2106
+ };
2107
+ thumb: {
2108
+ h: number;
2109
+ w: number;
2110
+ resize: string;
2111
+ };
2112
+ };
2113
+ original_info: {
2114
+ height: number;
2115
+ width: number;
2116
+ focus_rects?: {
2117
+ x: number;
2118
+ y: number;
2119
+ w: number;
2120
+ h: number;
2121
+ }[];
2122
+ };
2123
+ }[];
2486
2124
  };
2487
- subtext: {
2488
- text: string;
2489
- entities: unknown[];
2125
+ favorite_count: number;
2126
+ favorited: boolean;
2127
+ full_text: string;
2128
+ is_quote_status: boolean;
2129
+ lang: string;
2130
+ quote_count: number;
2131
+ quoted_status_id_str?: string;
2132
+ quoted_status_permalink?: {
2133
+ url: string;
2134
+ expanded: string;
2135
+ display: string;
2490
2136
  };
2491
- };
2492
- }[];
2493
- };
2494
- quoted_status_result?: {
2495
- result: {
2496
- __typename: string;
2497
- rest_id?: string;
2498
- core?: {
2499
- user_results: {
2500
- result: {
2501
- __typename: string;
2502
- id: string;
2503
- rest_id: string;
2504
- affiliates_highlighted_label: {
2505
- label?: {
2506
- url: {
2507
- url: string;
2508
- urlType: string;
2509
- };
2510
- badge: {
2511
- url: string;
2512
- };
2513
- description: string;
2514
- userLabelType: string;
2515
- userLabelDisplayType: string;
2516
- };
2517
- };
2518
- has_graduated_access: boolean;
2519
- is_blue_verified: boolean;
2520
- profile_image_shape: string;
2521
- legacy: {
2522
- can_dm: boolean;
2523
- can_media_tag: boolean;
2524
- created_at: string;
2525
- default_profile: boolean;
2526
- default_profile_image: boolean;
2527
- description: string;
2528
- entities: {
2529
- description: {
2530
- urls: {
2531
- display_url: string;
2532
- expanded_url: string;
2533
- url: string;
2534
- indices: number[];
2535
- }[];
2536
- };
2537
- url?: {
2538
- urls: {
2539
- display_url: string;
2540
- expanded_url: string;
2541
- url: string;
2542
- indices: number[];
2543
- }[];
2544
- };
2545
- };
2546
- fast_followers_count: number;
2547
- favourites_count: number;
2548
- followers_count: number;
2549
- friends_count: number;
2550
- has_custom_timelines: boolean;
2551
- is_translator: boolean;
2552
- listed_count: number;
2553
- location: string;
2554
- media_count: number;
2555
- name: string;
2556
- normal_followers_count: number;
2557
- pinned_tweet_ids_str: string[];
2558
- possibly_sensitive: boolean;
2559
- profile_image_url_https: string;
2560
- profile_interstitial_type: string;
2561
- screen_name: string;
2562
- statuses_count: number;
2563
- translator_type: string;
2564
- url?: string;
2565
- verified: boolean;
2566
- want_retweets: boolean;
2567
- withheld_in_countries: unknown[];
2568
- profile_banner_url?: string;
2569
- verified_type?: string;
2570
- };
2571
- professional?: {
2572
- rest_id: string;
2573
- professional_type: string;
2574
- category: {
2575
- id: number;
2576
- name: string;
2577
- icon_name: string;
2578
- }[];
2579
- };
2580
- super_follow_eligible?: boolean;
2581
- };
2582
- };
2583
- };
2584
- edit_control?: {
2585
- edit_tweet_ids: string[];
2586
- editable_until_msecs: string;
2587
- is_edit_eligible: boolean;
2588
- edits_remaining: string;
2589
- };
2590
- edit_perspective?: {
2591
- favorited: boolean;
2137
+ reply_count: number;
2138
+ retweet_count: number;
2592
2139
  retweeted: boolean;
2593
- };
2594
- is_translatable?: boolean;
2595
- views?: {
2596
- count: string;
2597
- state: string;
2598
- };
2599
- source?: string;
2600
- quotedRefResult?: {
2601
- result: {
2602
- __typename: string;
2603
- rest_id?: string;
2604
- tweet?: {
2605
- rest_id: string;
2606
- };
2607
- };
2608
- };
2609
- legacy?: {
2610
- bookmark_count: number;
2611
- bookmarked: boolean;
2612
- created_at: string;
2613
- conversation_id_str: string;
2614
- display_text_range: number[];
2615
- entities: {
2616
- user_mentions: {
2617
- id_str: string;
2618
- name: string;
2619
- screen_name: string;
2620
- indices: number[];
2621
- }[];
2622
- urls: {
2623
- display_url: string;
2624
- expanded_url: string;
2625
- url: string;
2626
- indices: number[];
2627
- }[];
2628
- hashtags: unknown[];
2629
- symbols: unknown[];
2630
- media?: {
2140
+ user_id_str: string;
2141
+ id_str: string;
2142
+ extended_entities?: {
2143
+ media: {
2631
2144
  display_url: string;
2632
2145
  expanded_url: string;
2633
2146
  id_str: string;
2634
2147
  indices: number[];
2148
+ media_key: string;
2635
2149
  media_url_https: string;
2636
2150
  type: string;
2637
2151
  url: string;
2152
+ additional_media_info?: {
2153
+ monetizable: boolean;
2154
+ title?: string;
2155
+ description?: string;
2156
+ embeddable?: boolean;
2157
+ };
2158
+ mediaStats?: {
2159
+ viewCount: number;
2160
+ };
2161
+ ext_media_availability: {
2162
+ status: string;
2163
+ };
2638
2164
  features: {
2639
2165
  large?: {
2640
2166
  faces: {
@@ -2701,176 +2227,568 @@ export interface CustomUserTweetEntry {
2701
2227
  h: number;
2702
2228
  }[];
2703
2229
  };
2230
+ video_info?: {
2231
+ aspect_ratio: number[];
2232
+ duration_millis: number;
2233
+ variants: {
2234
+ bitrate?: number;
2235
+ content_type: string;
2236
+ url: string;
2237
+ }[];
2238
+ };
2704
2239
  }[];
2705
2240
  };
2706
- favorite_count: number;
2707
- favorited: boolean;
2708
- full_text: string;
2709
- is_quote_status: boolean;
2710
- lang: string;
2711
- quote_count: number;
2712
- quoted_status_id_str?: string;
2713
- quoted_status_permalink?: {
2714
- url: string;
2715
- expanded: string;
2716
- display: string;
2717
- };
2718
- reply_count: number;
2719
- retweet_count: number;
2720
- retweeted: boolean;
2721
- user_id_str: string;
2722
- id_str: string;
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
- additional_media_info?: {
2734
- monetizable: boolean;
2735
- title?: string;
2736
- description?: string;
2737
- embeddable?: boolean;
2241
+ possibly_sensitive?: boolean;
2242
+ possibly_sensitive_editable?: boolean;
2243
+ };
2244
+ note_tweet?: {
2245
+ is_expandable: boolean;
2246
+ note_tweet_results: {
2247
+ result: {
2248
+ id: string;
2249
+ text: string;
2250
+ entity_set: {
2251
+ user_mentions: {
2252
+ id_str: string;
2253
+ name: string;
2254
+ screen_name: string;
2255
+ indices: number[];
2256
+ }[];
2257
+ urls: {
2258
+ display_url: string;
2259
+ expanded_url: string;
2260
+ url: string;
2261
+ indices: number[];
2262
+ }[];
2263
+ hashtags: unknown[];
2264
+ symbols: unknown[];
2738
2265
  };
2739
- mediaStats?: {
2740
- viewCount: number;
2266
+ richtext: {
2267
+ richtext_tags: unknown[];
2741
2268
  };
2742
- ext_media_availability: {
2743
- status: string;
2269
+ media: {
2270
+ inline_media: unknown[];
2744
2271
  };
2745
- features: {
2746
- large?: {
2747
- faces: {
2748
- x: number;
2749
- y: number;
2750
- h: number;
2751
- w: number;
2752
- }[];
2753
- };
2754
- medium?: {
2755
- faces: {
2756
- x: number;
2757
- y: number;
2758
- h: number;
2759
- w: number;
2760
- }[];
2761
- };
2762
- small?: {
2763
- faces: {
2764
- x: number;
2765
- y: number;
2766
- h: number;
2767
- w: number;
2272
+ };
2273
+ };
2274
+ };
2275
+ tombstone?: {
2276
+ __typename: string;
2277
+ text: {
2278
+ rtl: boolean;
2279
+ text: string;
2280
+ entities: {
2281
+ fromIndex: number;
2282
+ toIndex: number;
2283
+ ref: {
2284
+ type: string;
2285
+ url: string;
2286
+ urlType: string;
2287
+ };
2288
+ }[];
2289
+ };
2290
+ };
2291
+ };
2292
+ };
2293
+ tweet?: {
2294
+ rest_id: string;
2295
+ core: {
2296
+ user_results: {
2297
+ result: {
2298
+ __typename: string;
2299
+ id: string;
2300
+ rest_id: string;
2301
+ affiliates_highlighted_label: {
2302
+ label?: {
2303
+ url: {
2304
+ url: string;
2305
+ urlType: string;
2306
+ };
2307
+ badge: {
2308
+ url: string;
2309
+ };
2310
+ description: string;
2311
+ userLabelType: string;
2312
+ userLabelDisplayType: string;
2313
+ };
2314
+ };
2315
+ has_graduated_access: boolean;
2316
+ is_blue_verified: boolean;
2317
+ profile_image_shape: string;
2318
+ legacy: {
2319
+ can_dm: boolean;
2320
+ can_media_tag: boolean;
2321
+ created_at: string;
2322
+ default_profile: boolean;
2323
+ default_profile_image: boolean;
2324
+ description: string;
2325
+ entities: {
2326
+ description: {
2327
+ urls: unknown[];
2328
+ };
2329
+ url?: {
2330
+ urls: {
2331
+ display_url: string;
2332
+ expanded_url: string;
2333
+ url: string;
2334
+ indices: number[];
2335
+ }[];
2336
+ };
2337
+ };
2338
+ fast_followers_count: number;
2339
+ favourites_count: number;
2340
+ followers_count: number;
2341
+ friends_count: number;
2342
+ has_custom_timelines: boolean;
2343
+ is_translator: boolean;
2344
+ listed_count: number;
2345
+ location: string;
2346
+ media_count: number;
2347
+ name: string;
2348
+ normal_followers_count: number;
2349
+ pinned_tweet_ids_str: string[];
2350
+ possibly_sensitive: boolean;
2351
+ profile_banner_url: string;
2352
+ profile_image_url_https: string;
2353
+ profile_interstitial_type: string;
2354
+ screen_name: string;
2355
+ statuses_count: number;
2356
+ translator_type: string;
2357
+ url?: string;
2358
+ verified: boolean;
2359
+ want_retweets: boolean;
2360
+ withheld_in_countries: unknown[];
2361
+ };
2362
+ professional?: {
2363
+ rest_id: string;
2364
+ professional_type: string;
2365
+ category: {
2366
+ id: number;
2367
+ name: string;
2368
+ icon_name: string;
2369
+ }[];
2370
+ };
2371
+ super_follow_eligible?: boolean;
2372
+ };
2373
+ };
2374
+ };
2375
+ edit_control: {
2376
+ edit_tweet_ids: string[];
2377
+ editable_until_msecs: string;
2378
+ is_edit_eligible: boolean;
2379
+ edits_remaining: string;
2380
+ };
2381
+ edit_perspective?: {
2382
+ favorited: boolean;
2383
+ retweeted: boolean;
2384
+ };
2385
+ is_translatable: boolean;
2386
+ views: {
2387
+ state: string;
2388
+ count?: string;
2389
+ };
2390
+ source: string;
2391
+ legacy: {
2392
+ bookmark_count: number;
2393
+ bookmarked: boolean;
2394
+ created_at: string;
2395
+ conversation_control?: {
2396
+ policy: string;
2397
+ conversation_owner_results: {
2398
+ result: {
2399
+ __typename: string;
2400
+ legacy: {
2401
+ screen_name: string;
2402
+ };
2403
+ };
2404
+ };
2405
+ };
2406
+ conversation_id_str: string;
2407
+ display_text_range: number[];
2408
+ entities: {
2409
+ user_mentions: {
2410
+ id_str: string;
2411
+ name: string;
2412
+ screen_name: string;
2413
+ indices: number[];
2414
+ }[];
2415
+ urls: {
2416
+ display_url: string;
2417
+ expanded_url: string;
2418
+ url: string;
2419
+ indices: number[];
2420
+ }[];
2421
+ hashtags: unknown[];
2422
+ symbols: unknown[];
2423
+ };
2424
+ favorite_count: number;
2425
+ favorited: boolean;
2426
+ full_text: string;
2427
+ is_quote_status: boolean;
2428
+ lang: string;
2429
+ limited_actions: string;
2430
+ quote_count: number;
2431
+ reply_count: number;
2432
+ retweet_count: number;
2433
+ retweeted: boolean;
2434
+ user_id_str: string;
2435
+ id_str: string;
2436
+ retweeted_status_result: {
2437
+ result: {
2438
+ __typename: string;
2439
+ tweet: {
2440
+ rest_id: string;
2441
+ core: {
2442
+ user_results: {
2443
+ result: {
2444
+ __typename: string;
2445
+ id: string;
2446
+ rest_id: string;
2447
+ affiliates_highlighted_label: {};
2448
+ has_graduated_access: boolean;
2449
+ is_blue_verified: boolean;
2450
+ profile_image_shape: string;
2451
+ legacy: {
2452
+ can_dm: boolean;
2453
+ can_media_tag: boolean;
2454
+ created_at: string;
2455
+ default_profile: boolean;
2456
+ default_profile_image: boolean;
2457
+ description: string;
2458
+ entities: {
2459
+ description: {
2460
+ urls: unknown[];
2461
+ };
2462
+ url: {
2463
+ urls: {
2464
+ display_url: string;
2465
+ expanded_url: string;
2466
+ url: string;
2467
+ indices: number[];
2468
+ }[];
2469
+ };
2470
+ };
2471
+ fast_followers_count: number;
2472
+ favourites_count: number;
2473
+ followers_count: number;
2474
+ friends_count: number;
2475
+ has_custom_timelines: boolean;
2476
+ is_translator: boolean;
2477
+ listed_count: number;
2478
+ location: string;
2479
+ media_count: number;
2480
+ name: string;
2481
+ normal_followers_count: number;
2482
+ pinned_tweet_ids_str: string[];
2483
+ possibly_sensitive: boolean;
2484
+ profile_banner_url: string;
2485
+ profile_image_url_https: string;
2486
+ profile_interstitial_type: string;
2487
+ screen_name: string;
2488
+ statuses_count: number;
2489
+ translator_type: string;
2490
+ url: string;
2491
+ verified: boolean;
2492
+ want_retweets: boolean;
2493
+ withheld_in_countries: unknown[];
2494
+ verified_type?: string;
2495
+ };
2496
+ professional?: {
2497
+ rest_id: string;
2498
+ professional_type: string;
2499
+ category: unknown[];
2500
+ };
2501
+ };
2502
+ };
2503
+ };
2504
+ edit_control: {
2505
+ edit_tweet_ids: string[];
2506
+ editable_until_msecs: string;
2507
+ is_edit_eligible: boolean;
2508
+ edits_remaining: string;
2509
+ };
2510
+ edit_perspective?: {
2511
+ favorited: boolean;
2512
+ retweeted: boolean;
2513
+ };
2514
+ is_translatable: boolean;
2515
+ views: {
2516
+ count?: string;
2517
+ state: string;
2518
+ };
2519
+ source: string;
2520
+ legacy: {
2521
+ bookmark_count: number;
2522
+ bookmarked: boolean;
2523
+ created_at: string;
2524
+ conversation_control?: {
2525
+ policy: string;
2526
+ conversation_owner_results: {
2527
+ result: {
2528
+ __typename: string;
2529
+ legacy: {
2530
+ screen_name: string;
2531
+ };
2532
+ };
2533
+ };
2534
+ };
2535
+ conversation_id_str: string;
2536
+ display_text_range: number[];
2537
+ entities: {
2538
+ user_mentions: unknown[];
2539
+ urls: {
2540
+ display_url: string;
2541
+ expanded_url: string;
2542
+ url: string;
2543
+ indices: number[];
2544
+ }[];
2545
+ hashtags: unknown[];
2546
+ symbols: unknown[];
2547
+ media?: {
2548
+ display_url: string;
2549
+ expanded_url: string;
2550
+ id_str: string;
2551
+ indices: number[];
2552
+ media_url_https: string;
2553
+ type: string;
2554
+ url: string;
2555
+ features: {
2556
+ large: {
2557
+ faces: unknown[];
2558
+ };
2559
+ medium: {
2560
+ faces: unknown[];
2561
+ };
2562
+ small: {
2563
+ faces: unknown[];
2564
+ };
2565
+ orig: {
2566
+ faces: unknown[];
2567
+ };
2568
+ };
2569
+ sizes: {
2570
+ large: {
2571
+ h: number;
2572
+ w: number;
2573
+ resize: string;
2574
+ };
2575
+ medium: {
2576
+ h: number;
2577
+ w: number;
2578
+ resize: string;
2579
+ };
2580
+ small: {
2581
+ h: number;
2582
+ w: number;
2583
+ resize: string;
2584
+ };
2585
+ thumb: {
2586
+ h: number;
2587
+ w: number;
2588
+ resize: string;
2589
+ };
2590
+ };
2591
+ original_info: {
2592
+ height: number;
2593
+ width: number;
2594
+ focus_rects: {
2595
+ x: number;
2596
+ y: number;
2597
+ w: number;
2598
+ h: number;
2599
+ }[];
2600
+ };
2768
2601
  }[];
2769
2602
  };
2770
- orig?: {
2771
- faces: {
2772
- x: number;
2773
- y: number;
2774
- h: number;
2775
- w: number;
2603
+ favorite_count: number;
2604
+ favorited: boolean;
2605
+ full_text: string;
2606
+ is_quote_status: boolean;
2607
+ lang: string;
2608
+ limited_actions: string;
2609
+ quote_count: number;
2610
+ reply_count: number;
2611
+ retweet_count: number;
2612
+ retweeted: boolean;
2613
+ user_id_str: string;
2614
+ id_str: string;
2615
+ extended_entities?: {
2616
+ media: {
2617
+ display_url: string;
2618
+ expanded_url: string;
2619
+ id_str: string;
2620
+ indices: number[];
2621
+ media_key: string;
2622
+ media_url_https: string;
2623
+ type: string;
2624
+ url: string;
2625
+ ext_media_availability: {
2626
+ status: string;
2627
+ };
2628
+ features: {
2629
+ large: {
2630
+ faces: unknown[];
2631
+ };
2632
+ medium: {
2633
+ faces: unknown[];
2634
+ };
2635
+ small: {
2636
+ faces: unknown[];
2637
+ };
2638
+ orig: {
2639
+ faces: unknown[];
2640
+ };
2641
+ };
2642
+ sizes: {
2643
+ large: {
2644
+ h: number;
2645
+ w: number;
2646
+ resize: string;
2647
+ };
2648
+ medium: {
2649
+ h: number;
2650
+ w: number;
2651
+ resize: string;
2652
+ };
2653
+ small: {
2654
+ h: number;
2655
+ w: number;
2656
+ resize: string;
2657
+ };
2658
+ thumb: {
2659
+ h: number;
2660
+ w: number;
2661
+ resize: string;
2662
+ };
2663
+ };
2664
+ original_info: {
2665
+ height: number;
2666
+ width: number;
2667
+ focus_rects: {
2668
+ x: number;
2669
+ y: number;
2670
+ w: number;
2671
+ h: number;
2672
+ }[];
2673
+ };
2776
2674
  }[];
2777
2675
  };
2676
+ possibly_sensitive?: boolean;
2677
+ possibly_sensitive_editable?: boolean;
2778
2678
  };
2779
- sizes: {
2780
- large: {
2781
- h: number;
2782
- w: number;
2783
- resize: string;
2784
- };
2785
- medium: {
2786
- h: number;
2787
- w: number;
2788
- resize: string;
2789
- };
2790
- small: {
2791
- h: number;
2792
- w: number;
2793
- resize: string;
2794
- };
2795
- thumb: {
2796
- h: number;
2797
- w: number;
2798
- resize: string;
2679
+ note_tweet?: {
2680
+ is_expandable: boolean;
2681
+ note_tweet_results: {
2682
+ result: {
2683
+ id: string;
2684
+ text: string;
2685
+ entity_set: {
2686
+ user_mentions: unknown[];
2687
+ urls: {
2688
+ display_url: string;
2689
+ expanded_url: string;
2690
+ url: string;
2691
+ indices: number[];
2692
+ }[];
2693
+ hashtags: unknown[];
2694
+ symbols: unknown[];
2695
+ };
2696
+ richtext: {
2697
+ richtext_tags: {
2698
+ from_index: number;
2699
+ to_index: number;
2700
+ richtext_types: string[];
2701
+ }[];
2702
+ };
2703
+ media: {
2704
+ inline_media: {
2705
+ media_id: string;
2706
+ index: number;
2707
+ }[];
2708
+ };
2709
+ };
2799
2710
  };
2800
2711
  };
2801
- original_info: {
2802
- height: number;
2803
- width: number;
2804
- focus_rects?: {
2805
- x: number;
2806
- y: number;
2807
- w: number;
2808
- h: number;
2809
- }[];
2810
- };
2811
- video_info?: {
2812
- aspect_ratio: number[];
2813
- duration_millis: number;
2814
- variants: {
2815
- bitrate?: number;
2816
- content_type: string;
2817
- url: string;
2818
- }[];
2819
- };
2820
- }[];
2821
- };
2822
- possibly_sensitive?: boolean;
2823
- possibly_sensitive_editable?: boolean;
2824
- };
2825
- note_tweet?: {
2826
- is_expandable: boolean;
2827
- note_tweet_results: {
2828
- result: {
2829
- id: string;
2830
- text: string;
2831
- entity_set: {
2832
- user_mentions: {
2833
- id_str: string;
2834
- name: string;
2835
- screen_name: string;
2836
- indices: number[];
2837
- }[];
2838
- urls: unknown[];
2839
- hashtags: unknown[];
2840
- symbols: unknown[];
2841
- };
2842
- richtext: {
2843
- richtext_tags: unknown[];
2844
- };
2845
- media: {
2846
- inline_media: unknown[];
2847
- };
2712
+ };
2713
+ limitedActionResults: {
2714
+ limited_actions: {
2715
+ action: string;
2716
+ prompt?: {
2717
+ __typename: string;
2718
+ cta_type: string;
2719
+ headline: {
2720
+ text: string;
2721
+ entities: unknown[];
2722
+ };
2723
+ subtext: {
2724
+ text: string;
2725
+ entities: unknown[];
2726
+ };
2727
+ };
2728
+ }[];
2848
2729
  };
2849
2730
  };
2850
2731
  };
2851
- tombstone?: {
2732
+ possibly_sensitive?: boolean;
2733
+ possibly_sensitive_editable?: boolean;
2734
+ };
2735
+ quick_promote_eligibility: {
2736
+ eligibility: string;
2737
+ };
2738
+ };
2739
+ limitedActionResults?: {
2740
+ limited_actions: {
2741
+ action: string;
2742
+ prompt?: {
2852
2743
  __typename: string;
2853
- text: {
2854
- rtl: boolean;
2744
+ cta_type: string;
2745
+ headline: {
2855
2746
  text: string;
2856
- entities: {
2857
- fromIndex: number;
2858
- toIndex: number;
2859
- ref: {
2860
- type: string;
2861
- url: string;
2862
- urlType: string;
2863
- };
2747
+ entities: unknown[];
2748
+ };
2749
+ subtext: {
2750
+ text: string;
2751
+ entities: unknown[];
2752
+ };
2753
+ };
2754
+ }[];
2755
+ };
2756
+ note_tweet?: {
2757
+ is_expandable?: boolean;
2758
+ note_tweet_results: {
2759
+ result: {
2760
+ id: string;
2761
+ text: string;
2762
+ entity_set: {
2763
+ user_mentions: unknown[];
2764
+ urls: {
2765
+ display_url: string;
2766
+ expanded_url: string;
2767
+ url: string;
2768
+ indices: number[];
2769
+ }[];
2770
+ hashtags: unknown[];
2771
+ symbols: unknown[];
2772
+ };
2773
+ richtext?: {
2774
+ richtext_tags: {
2775
+ from_index: number;
2776
+ to_index: number;
2777
+ richtext_types: string[];
2864
2778
  }[];
2865
2779
  };
2780
+ media?: {
2781
+ inline_media: unknown[];
2782
+ };
2866
2783
  };
2867
2784
  };
2868
2785
  };
2786
+ voiceInfo?: {};
2869
2787
  };
2870
2788
  };
2871
2789
  tweetDisplayType: string;
2872
2790
  };
2873
- clientEventInfo?: {
2791
+ clientEventInfo: {
2874
2792
  component: string;
2875
2793
  element: string;
2876
2794
  details: {