@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
@@ -11,12 +11,10 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
11
11
  content: {
12
12
  entryType: string;
13
13
  __typename: string;
14
- value?: string;
15
- cursorType?: string;
16
14
  itemContent?: {
17
15
  itemType: string;
18
16
  __typename: string;
19
- tweet_results: {
17
+ tweet_results?: {
20
18
  result: {
21
19
  __typename: string;
22
20
  rest_id?: string;
@@ -44,6 +42,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
44
42
  is_blue_verified: boolean;
45
43
  profile_image_shape: string;
46
44
  legacy: {
45
+ followed_by?: boolean;
47
46
  following?: boolean;
48
47
  can_dm: boolean;
49
48
  can_media_tag: boolean;
@@ -62,8 +61,8 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
62
61
  };
63
62
  url?: {
64
63
  urls: {
65
- display_url: string;
66
- expanded_url: string;
64
+ display_url?: string;
65
+ expanded_url?: string;
67
66
  url: string;
68
67
  indices: number[];
69
68
  }[];
@@ -91,9 +90,8 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
91
90
  verified: boolean;
92
91
  want_retweets: boolean;
93
92
  withheld_in_countries: unknown[];
94
- verified_type?: string;
95
93
  url?: string;
96
- followed_by?: boolean;
94
+ verified_type?: string;
97
95
  needs_phone_verification?: boolean;
98
96
  };
99
97
  professional?: {
@@ -105,6 +103,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
105
103
  icon_name: string;
106
104
  }[];
107
105
  };
106
+ super_follow_eligible?: boolean;
108
107
  };
109
108
  };
110
109
  };
@@ -127,8 +126,8 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
127
126
  };
128
127
  is_translatable?: boolean;
129
128
  views?: {
130
- count?: string;
131
129
  state: string;
130
+ count?: string;
132
131
  };
133
132
  source?: string;
134
133
  legacy?: {
@@ -164,8 +163,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
164
163
  id_str: string;
165
164
  indices: number[];
166
165
  media_url_https: string;
167
- source_status_id_str?: string;
168
- source_user_id_str?: string;
169
166
  type: string;
170
167
  url: string;
171
168
  features: {
@@ -242,6 +239,8 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
242
239
  h: number;
243
240
  }[];
244
241
  };
242
+ source_status_id_str?: string;
243
+ source_user_id_str?: string;
245
244
  }[];
246
245
  };
247
246
  favorite_count: number;
@@ -255,223 +254,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
255
254
  retweeted: boolean;
256
255
  user_id_str: string;
257
256
  id_str: string;
258
- extended_entities?: {
259
- media: {
260
- display_url: string;
261
- expanded_url: string;
262
- id_str: string;
263
- indices: number[];
264
- media_key: string;
265
- media_url_https: string;
266
- source_status_id_str?: string;
267
- source_user_id_str?: string;
268
- type: string;
269
- url: string;
270
- additional_media_info?: {
271
- monetizable: boolean;
272
- source_user?: {
273
- user_results: {
274
- result: {
275
- __typename: string;
276
- id: string;
277
- rest_id: string;
278
- affiliates_highlighted_label: {
279
- label?: {
280
- badge: {
281
- url: string;
282
- };
283
- description: string;
284
- longDescription: {
285
- text: string;
286
- entities: {
287
- fromIndex: number;
288
- toIndex: number;
289
- ref: {
290
- type: string;
291
- screen_name: string;
292
- mention_results: {
293
- result: {
294
- __typename: string;
295
- legacy: {
296
- screen_name: string;
297
- };
298
- rest_id: string;
299
- };
300
- };
301
- };
302
- }[];
303
- };
304
- userLabelType: string;
305
- };
306
- };
307
- has_graduated_access: boolean;
308
- is_blue_verified: boolean;
309
- profile_image_shape: string;
310
- legacy: {
311
- can_dm: boolean;
312
- can_media_tag: boolean;
313
- created_at: string;
314
- default_profile: boolean;
315
- default_profile_image: boolean;
316
- description: string;
317
- entities: {
318
- description: {
319
- urls: {
320
- display_url: string;
321
- expanded_url: string;
322
- url: string;
323
- indices: number[];
324
- }[];
325
- };
326
- url?: {
327
- urls: {
328
- display_url: string;
329
- expanded_url: string;
330
- url: string;
331
- indices: number[];
332
- }[];
333
- };
334
- };
335
- fast_followers_count: number;
336
- favourites_count: number;
337
- followers_count: number;
338
- friends_count: number;
339
- has_custom_timelines: boolean;
340
- is_translator: boolean;
341
- listed_count: number;
342
- location: string;
343
- media_count: number;
344
- name: string;
345
- normal_followers_count: number;
346
- pinned_tweet_ids_str: string[];
347
- possibly_sensitive: boolean;
348
- profile_banner_url: string;
349
- profile_image_url_https: string;
350
- profile_interstitial_type: string;
351
- screen_name: string;
352
- statuses_count: number;
353
- translator_type: string;
354
- url?: string;
355
- verified: boolean;
356
- want_retweets: boolean;
357
- withheld_in_countries: unknown[];
358
- };
359
- professional?: {
360
- rest_id: string;
361
- professional_type: string;
362
- category: {
363
- id: number;
364
- name: string;
365
- icon_name: string;
366
- }[];
367
- };
368
- super_follow_eligible?: boolean;
369
- };
370
- };
371
- };
372
- title?: string;
373
- description?: string;
374
- embeddable?: boolean;
375
- call_to_actions?: {
376
- visit_site: {
377
- url: string;
378
- };
379
- };
380
- };
381
- mediaStats?: {
382
- viewCount: number;
383
- };
384
- ext_media_availability: {
385
- status: string;
386
- };
387
- features: {
388
- large?: {
389
- faces: {
390
- x: number;
391
- y: number;
392
- h: number;
393
- w: number;
394
- }[];
395
- };
396
- medium?: {
397
- faces: {
398
- x: number;
399
- y: number;
400
- h: number;
401
- w: number;
402
- }[];
403
- };
404
- small?: {
405
- faces: {
406
- x: number;
407
- y: number;
408
- h: number;
409
- w: number;
410
- }[];
411
- };
412
- orig?: {
413
- faces: {
414
- x: number;
415
- y: number;
416
- h: number;
417
- w: number;
418
- }[];
419
- };
420
- all?: {
421
- tags: {
422
- user_id: string;
423
- name: string;
424
- screen_name: string;
425
- type: string;
426
- }[];
427
- };
428
- };
429
- sizes: {
430
- large: {
431
- h: number;
432
- w: number;
433
- resize: string;
434
- };
435
- medium: {
436
- h: number;
437
- w: number;
438
- resize: string;
439
- };
440
- small: {
441
- h: number;
442
- w: number;
443
- resize: string;
444
- };
445
- thumb: {
446
- h: number;
447
- w: number;
448
- resize: string;
449
- };
450
- };
451
- original_info: {
452
- height: number;
453
- width: number;
454
- focus_rects?: {
455
- x: number;
456
- y: number;
457
- w: number;
458
- h: number;
459
- }[];
460
- };
461
- video_info?: {
462
- aspect_ratio: number[];
463
- duration_millis?: number;
464
- variants: {
465
- bitrate?: number;
466
- content_type: string;
467
- url: string;
468
- }[];
469
- };
470
- ext_alt_text?: string;
471
- }[];
472
- };
473
- possibly_sensitive?: boolean;
474
- possibly_sensitive_editable?: boolean;
475
257
  retweeted_status_result?: {
476
258
  result: {
477
259
  __typename: string;
@@ -505,10 +287,11 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
505
287
  mention_results: {
506
288
  result: {
507
289
  __typename: string;
508
- legacy: {
290
+ legacy?: {
509
291
  screen_name: string;
510
292
  };
511
- rest_id: string;
293
+ rest_id?: string;
294
+ reason?: string;
512
295
  };
513
296
  };
514
297
  };
@@ -612,14 +395,32 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
612
395
  conversation_id_str: string;
613
396
  display_text_range: number[];
614
397
  entities: {
398
+ user_mentions: {
399
+ id_str: string;
400
+ name: string;
401
+ screen_name: string;
402
+ indices: number[];
403
+ }[];
404
+ urls: {
405
+ display_url: string;
406
+ expanded_url: string;
407
+ url: string;
408
+ indices: number[];
409
+ }[];
410
+ hashtags: {
411
+ indices: number[];
412
+ text: string;
413
+ }[];
414
+ symbols: {
415
+ indices: number[];
416
+ text: string;
417
+ }[];
615
418
  media?: {
616
419
  display_url: string;
617
420
  expanded_url: string;
618
421
  id_str: string;
619
422
  indices: number[];
620
423
  media_url_https: string;
621
- source_status_id_str?: string;
622
- source_user_id_str?: string;
623
424
  type: string;
624
425
  url: string;
625
426
  features: {
@@ -696,116 +497,31 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
696
497
  h: number;
697
498
  }[];
698
499
  };
500
+ source_status_id_str?: string;
501
+ source_user_id_str?: string;
699
502
  }[];
700
- user_mentions: {
701
- id_str: string;
702
- name: string;
703
- screen_name: string;
704
- indices: number[];
705
- }[];
706
- urls: {
707
- display_url: string;
708
- expanded_url: string;
709
- url: string;
710
- indices: number[];
711
- }[];
712
- hashtags: {
713
- indices: number[];
714
- text: string;
715
- }[];
716
- symbols: {
717
- indices: number[];
718
- text: string;
719
- }[];
720
- };
721
- extended_entities?: {
722
- media: {
723
- display_url: string;
724
- expanded_url: string;
503
+ };
504
+ favorite_count: number;
505
+ favorited: boolean;
506
+ full_text: string;
507
+ is_quote_status: boolean;
508
+ lang: string;
509
+ quote_count: number;
510
+ reply_count: number;
511
+ retweet_count: number;
512
+ retweeted: boolean;
513
+ user_id_str: string;
514
+ id_str: string;
515
+ extended_entities?: {
516
+ media: {
517
+ display_url: string;
518
+ expanded_url: string;
725
519
  id_str: string;
726
520
  indices: number[];
727
521
  media_key: string;
728
522
  media_url_https: string;
729
- source_status_id_str?: string;
730
- source_user_id_str?: string;
731
523
  type: string;
732
524
  url: string;
733
- additional_media_info?: {
734
- monetizable: boolean;
735
- source_user?: {
736
- user_results: {
737
- result: {
738
- __typename: string;
739
- id: string;
740
- rest_id: string;
741
- affiliates_highlighted_label: {};
742
- has_graduated_access: boolean;
743
- is_blue_verified: boolean;
744
- profile_image_shape: string;
745
- legacy: {
746
- can_dm: boolean;
747
- can_media_tag: boolean;
748
- created_at: string;
749
- default_profile: boolean;
750
- default_profile_image: boolean;
751
- description: string;
752
- entities: {
753
- description: {
754
- urls: unknown[];
755
- };
756
- url?: {
757
- urls: {
758
- display_url: string;
759
- expanded_url: string;
760
- url: string;
761
- indices: number[];
762
- }[];
763
- };
764
- };
765
- fast_followers_count: number;
766
- favourites_count: number;
767
- followers_count: number;
768
- friends_count: number;
769
- has_custom_timelines: boolean;
770
- is_translator: boolean;
771
- listed_count: number;
772
- location: string;
773
- media_count: number;
774
- name: string;
775
- normal_followers_count: number;
776
- pinned_tweet_ids_str: string[];
777
- possibly_sensitive: boolean;
778
- profile_banner_url: string;
779
- profile_image_url_https: string;
780
- profile_interstitial_type: string;
781
- screen_name: string;
782
- statuses_count: number;
783
- translator_type: string;
784
- url?: string;
785
- verified: boolean;
786
- want_retweets: boolean;
787
- withheld_in_countries: unknown[];
788
- };
789
- professional?: {
790
- rest_id: string;
791
- professional_type: string;
792
- category: {
793
- id: number;
794
- name: string;
795
- icon_name: string;
796
- }[];
797
- };
798
- super_follow_eligible?: boolean;
799
- };
800
- };
801
- };
802
- title?: string;
803
- description?: string;
804
- embeddable?: boolean;
805
- };
806
- mediaStats?: {
807
- viewCount: number;
808
- };
809
525
  ext_media_availability: {
810
526
  status: string;
811
527
  };
@@ -885,29 +601,96 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
885
601
  };
886
602
  video_info?: {
887
603
  aspect_ratio: number[];
888
- duration_millis?: number;
889
604
  variants: {
890
605
  bitrate?: number;
891
606
  content_type: string;
892
607
  url: string;
893
608
  }[];
609
+ duration_millis?: number;
610
+ };
611
+ additional_media_info?: {
612
+ monetizable: boolean;
613
+ source_user?: {
614
+ user_results: {
615
+ result: {
616
+ __typename: string;
617
+ id: string;
618
+ rest_id: string;
619
+ affiliates_highlighted_label: {};
620
+ has_graduated_access: boolean;
621
+ is_blue_verified: boolean;
622
+ profile_image_shape: string;
623
+ legacy: {
624
+ can_dm: boolean;
625
+ can_media_tag: boolean;
626
+ created_at: string;
627
+ default_profile: boolean;
628
+ default_profile_image: boolean;
629
+ description: string;
630
+ entities: {
631
+ description: {
632
+ urls: unknown[];
633
+ };
634
+ url?: {
635
+ urls: {
636
+ display_url: string;
637
+ expanded_url: string;
638
+ url: string;
639
+ indices: number[];
640
+ }[];
641
+ };
642
+ };
643
+ fast_followers_count: number;
644
+ favourites_count: number;
645
+ followers_count: number;
646
+ friends_count: number;
647
+ has_custom_timelines: boolean;
648
+ is_translator: boolean;
649
+ listed_count: number;
650
+ location: string;
651
+ media_count: number;
652
+ name: string;
653
+ normal_followers_count: number;
654
+ pinned_tweet_ids_str: string[];
655
+ possibly_sensitive: boolean;
656
+ profile_banner_url: string;
657
+ profile_image_url_https: string;
658
+ profile_interstitial_type: string;
659
+ screen_name: string;
660
+ statuses_count: number;
661
+ translator_type: string;
662
+ url?: string;
663
+ verified: boolean;
664
+ want_retweets: boolean;
665
+ withheld_in_countries: unknown[];
666
+ };
667
+ professional?: {
668
+ rest_id: string;
669
+ professional_type: string;
670
+ category: {
671
+ id: number;
672
+ name: string;
673
+ icon_name: string;
674
+ }[];
675
+ };
676
+ super_follow_eligible?: boolean;
677
+ };
678
+ };
679
+ };
680
+ title?: string;
681
+ description?: string;
682
+ embeddable?: boolean;
683
+ };
684
+ mediaStats?: {
685
+ viewCount: number;
894
686
  };
895
687
  ext_alt_text?: string;
688
+ source_status_id_str?: string;
689
+ source_user_id_str?: string;
896
690
  }[];
897
691
  };
898
- favorite_count: number;
899
- favorited: boolean;
900
- full_text: string;
901
- is_quote_status: boolean;
902
- lang: string;
903
692
  possibly_sensitive?: boolean;
904
693
  possibly_sensitive_editable?: boolean;
905
- quote_count: number;
906
- reply_count: number;
907
- retweet_count: number;
908
- retweeted: boolean;
909
- user_id_str: string;
910
- id_str: string;
911
694
  quoted_status_id_str?: string;
912
695
  quoted_status_permalink?: {
913
696
  url: string;
@@ -917,33 +700,46 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
917
700
  scopes?: {
918
701
  followers: boolean;
919
702
  };
920
- place?: {
921
- attributes: {};
922
- bounding_box: {
923
- coordinates: number[][][];
924
- type: string;
925
- };
926
- contained_within: unknown[];
927
- country: string;
928
- country_code: string;
929
- full_name: string;
930
- name: string;
931
- id: string;
932
- place_type: string;
933
- url: string;
934
- };
935
703
  };
936
704
  quoted_status_result?: {
937
705
  result: {
938
706
  __typename: string;
939
- rest_id?: string;
940
- core?: {
707
+ rest_id: string;
708
+ core: {
941
709
  user_results: {
942
710
  result: {
943
711
  __typename: string;
944
712
  id: string;
945
713
  rest_id: string;
946
- affiliates_highlighted_label: {};
714
+ affiliates_highlighted_label: {
715
+ label?: {
716
+ badge: {
717
+ url: string;
718
+ };
719
+ description: string;
720
+ longDescription: {
721
+ text: string;
722
+ entities: {
723
+ fromIndex: number;
724
+ toIndex: number;
725
+ ref: {
726
+ type: string;
727
+ screen_name: string;
728
+ mention_results: {
729
+ result: {
730
+ __typename: string;
731
+ legacy: {
732
+ screen_name: string;
733
+ };
734
+ rest_id: string;
735
+ };
736
+ };
737
+ };
738
+ }[];
739
+ };
740
+ userLabelType: string;
741
+ };
742
+ };
947
743
  has_graduated_access: boolean;
948
744
  is_blue_verified: boolean;
949
745
  profile_image_shape: string;
@@ -1008,7 +804,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1008
804
  };
1009
805
  };
1010
806
  };
1011
- edit_control?: {
807
+ edit_control: {
1012
808
  edit_tweet_ids?: string[];
1013
809
  editable_until_msecs?: string;
1014
810
  is_edit_eligible?: boolean;
@@ -1025,13 +821,13 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1025
821
  favorited: boolean;
1026
822
  retweeted: boolean;
1027
823
  };
1028
- is_translatable?: boolean;
1029
- views?: {
824
+ is_translatable: boolean;
825
+ views: {
1030
826
  count: string;
1031
827
  state: string;
1032
828
  };
1033
- source?: string;
1034
- legacy?: {
829
+ source: string;
830
+ legacy: {
1035
831
  bookmark_count: number;
1036
832
  bookmarked: boolean;
1037
833
  created_at: string;
@@ -1079,14 +875,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1079
875
  w: number;
1080
876
  }[];
1081
877
  };
1082
- all?: {
1083
- tags: {
1084
- user_id: string;
1085
- name: string;
1086
- screen_name: string;
1087
- type: string;
1088
- }[];
1089
- };
1090
878
  };
1091
879
  sizes: {
1092
880
  large: {
@@ -1137,10 +925,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1137
925
  indices: number[];
1138
926
  text: string;
1139
927
  }[];
1140
- symbols: {
1141
- indices: number[];
1142
- text: string;
1143
- }[];
928
+ symbols: unknown[];
1144
929
  };
1145
930
  extended_entities?: {
1146
931
  media: {
@@ -1188,14 +973,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1188
973
  w: number;
1189
974
  }[];
1190
975
  };
1191
- all?: {
1192
- tags: {
1193
- user_id: string;
1194
- name: string;
1195
- screen_name: string;
1196
- type: string;
1197
- }[];
1198
- };
1199
976
  };
1200
977
  sizes: {
1201
978
  large: {
@@ -1239,9 +1016,9 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1239
1016
  aspect_ratio: number[];
1240
1017
  duration_millis: number;
1241
1018
  variants: {
1019
+ bitrate?: number;
1242
1020
  content_type: string;
1243
1021
  url: string;
1244
- bitrate?: number;
1245
1022
  }[];
1246
1023
  };
1247
1024
  }[];
@@ -1266,27 +1043,74 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1266
1043
  display: string;
1267
1044
  };
1268
1045
  };
1269
- card?: {
1270
- rest_id: string;
1271
- legacy: {
1272
- binding_values: {
1273
- key: string;
1274
- value: {
1275
- string_value?: string;
1276
- type: string;
1277
- scribe_key?: string;
1278
- image_value?: {
1279
- height: number;
1280
- width: number;
1281
- url: string;
1282
- };
1283
- user_value?: {
1284
- id_str: string;
1285
- path: unknown[];
1286
- };
1287
- image_color_value?: {
1288
- palette: {
1289
- rgb: {
1046
+ previous_counts?: {
1047
+ bookmark_count: number;
1048
+ favorite_count: number;
1049
+ quote_count: number;
1050
+ reply_count: number;
1051
+ retweet_count: number;
1052
+ };
1053
+ note_tweet?: {
1054
+ is_expandable: boolean;
1055
+ note_tweet_results: {
1056
+ result: {
1057
+ id: string;
1058
+ text: string;
1059
+ entity_set: {
1060
+ user_mentions: {
1061
+ id_str: string;
1062
+ name: string;
1063
+ screen_name: string;
1064
+ indices: number[];
1065
+ }[];
1066
+ urls: {
1067
+ display_url: string;
1068
+ expanded_url: string;
1069
+ url: string;
1070
+ indices: number[];
1071
+ }[];
1072
+ hashtags: {
1073
+ indices: number[];
1074
+ text: string;
1075
+ }[];
1076
+ symbols: unknown[];
1077
+ };
1078
+ richtext?: {
1079
+ richtext_tags: unknown[];
1080
+ };
1081
+ media?: {
1082
+ inline_media: unknown[];
1083
+ };
1084
+ };
1085
+ };
1086
+ };
1087
+ quotedRefResult?: {
1088
+ result: {
1089
+ __typename: string;
1090
+ rest_id: string;
1091
+ };
1092
+ };
1093
+ card?: {
1094
+ rest_id: string;
1095
+ legacy: {
1096
+ binding_values: {
1097
+ key: string;
1098
+ value: {
1099
+ string_value?: string;
1100
+ type: string;
1101
+ image_value?: {
1102
+ height: number;
1103
+ width: number;
1104
+ url: string;
1105
+ };
1106
+ scribe_key?: string;
1107
+ user_value?: {
1108
+ id_str: string;
1109
+ path: unknown[];
1110
+ };
1111
+ image_color_value?: {
1112
+ palette: {
1113
+ rgb: {
1290
1114
  blue: number;
1291
1115
  green: number;
1292
1116
  red: number;
@@ -1370,437 +1194,78 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1370
1194
  unified_card?: {
1371
1195
  card_fetch_state: string;
1372
1196
  };
1373
- tweet?: {
1374
- rest_id: string;
1375
- core: {
1376
- user_results: {
1377
- result: {
1378
- __typename: string;
1379
- id: string;
1380
- rest_id: string;
1381
- affiliates_highlighted_label: {};
1382
- has_graduated_access: boolean;
1383
- is_blue_verified: boolean;
1384
- profile_image_shape: string;
1385
- legacy: {
1386
- can_dm: boolean;
1387
- can_media_tag: boolean;
1388
- created_at: string;
1389
- default_profile: boolean;
1390
- default_profile_image: boolean;
1391
- description: string;
1392
- entities: {
1393
- description: {
1394
- urls: {
1395
- display_url: string;
1396
- expanded_url: string;
1397
- url: string;
1398
- indices: number[];
1399
- }[];
1400
- };
1401
- url?: {
1402
- urls: {
1403
- display_url: string;
1404
- expanded_url: string;
1405
- url: string;
1406
- indices: number[];
1407
- }[];
1408
- };
1409
- };
1410
- fast_followers_count: number;
1411
- favourites_count: number;
1412
- followers_count: number;
1413
- friends_count: number;
1414
- has_custom_timelines: boolean;
1415
- is_translator: boolean;
1416
- listed_count: number;
1417
- location: string;
1418
- media_count: number;
1419
- name: string;
1420
- normal_followers_count: number;
1421
- pinned_tweet_ids_str: string[];
1422
- possibly_sensitive: boolean;
1423
- profile_banner_url: string;
1424
- profile_image_url_https: string;
1425
- profile_interstitial_type: string;
1426
- screen_name: string;
1427
- statuses_count: number;
1428
- translator_type: string;
1429
- verified: boolean;
1430
- want_retweets: boolean;
1431
- withheld_in_countries: unknown[];
1432
- url?: string;
1433
- };
1434
- professional?: {
1435
- rest_id: string;
1436
- professional_type: string;
1437
- category: {
1438
- id: number;
1439
- name: string;
1440
- icon_name: string;
1441
- }[];
1442
- };
1443
- };
1444
- };
1445
- };
1446
- edit_control: {
1447
- edit_tweet_ids: string[];
1448
- editable_until_msecs: string;
1449
- is_edit_eligible: boolean;
1450
- edits_remaining: string;
1197
+ };
1198
+ };
1199
+ note_tweet?: {
1200
+ is_expandable: boolean;
1201
+ note_tweet_results: {
1202
+ result: {
1203
+ id: string;
1204
+ text: string;
1205
+ entity_set: {
1206
+ user_mentions: {
1207
+ id_str: string;
1208
+ name: string;
1209
+ screen_name: string;
1210
+ indices: number[];
1211
+ }[];
1212
+ urls: {
1213
+ display_url: string;
1214
+ expanded_url: string;
1215
+ url: string;
1216
+ indices: number[];
1217
+ }[];
1218
+ hashtags: {
1219
+ indices: number[];
1220
+ text: string;
1221
+ }[];
1222
+ symbols: {
1223
+ indices: number[];
1224
+ text: string;
1225
+ }[];
1451
1226
  };
1452
- edit_perspective: {
1453
- favorited: boolean;
1454
- retweeted: boolean;
1227
+ richtext?: {
1228
+ richtext_tags: {
1229
+ from_index: number;
1230
+ to_index: number;
1231
+ richtext_types: string[];
1232
+ }[];
1455
1233
  };
1456
- is_translatable: boolean;
1457
- views: {
1458
- count: string;
1459
- state: string;
1234
+ media?: {
1235
+ inline_media: unknown[];
1460
1236
  };
1461
- source: string;
1462
- legacy: {
1463
- bookmark_count: number;
1464
- bookmarked: boolean;
1465
- created_at: string;
1466
- conversation_control: {
1467
- policy: string;
1468
- conversation_owner_results: {
1469
- result: {
1470
- __typename: string;
1471
- legacy: {
1472
- screen_name: string;
1473
- };
1474
- };
1475
- };
1237
+ };
1238
+ };
1239
+ };
1240
+ card?: {
1241
+ rest_id: string;
1242
+ legacy: {
1243
+ binding_values: {
1244
+ key: string;
1245
+ value: {
1246
+ string_value?: string;
1247
+ type: string;
1248
+ scribe_key?: string;
1249
+ image_value?: {
1250
+ height: number;
1251
+ width: number;
1252
+ url: string;
1476
1253
  };
1477
- conversation_id_str: string;
1478
- display_text_range: number[];
1479
- entities: {
1480
- media: {
1481
- display_url: string;
1482
- expanded_url: string;
1483
- id_str: string;
1484
- indices: number[];
1485
- media_url_https: string;
1486
- type: string;
1487
- url: string;
1488
- features: {
1489
- large: {
1490
- faces: {
1491
- x: number;
1492
- y: number;
1493
- h: number;
1494
- w: number;
1495
- }[];
1496
- };
1497
- medium: {
1498
- faces: {
1499
- x: number;
1500
- y: number;
1501
- h: number;
1502
- w: number;
1503
- }[];
1504
- };
1505
- small: {
1506
- faces: {
1507
- x: number;
1508
- y: number;
1509
- h: number;
1510
- w: number;
1511
- }[];
1512
- };
1513
- orig: {
1514
- faces: {
1515
- x: number;
1516
- y: number;
1517
- h: number;
1518
- w: number;
1519
- }[];
1520
- };
1521
- };
1522
- sizes: {
1523
- large: {
1524
- h: number;
1525
- w: number;
1526
- resize: string;
1527
- };
1528
- medium: {
1529
- h: number;
1530
- w: number;
1531
- resize: string;
1532
- };
1533
- small: {
1534
- h: number;
1535
- w: number;
1536
- resize: string;
1537
- };
1538
- thumb: {
1539
- h: number;
1540
- w: number;
1541
- resize: string;
1542
- };
1543
- };
1544
- original_info: {
1545
- height: number;
1546
- width: number;
1547
- focus_rects: {
1548
- x: number;
1549
- y: number;
1550
- w: number;
1551
- h: number;
1552
- }[];
1254
+ user_value?: {
1255
+ id_str: string;
1256
+ path: unknown[];
1257
+ };
1258
+ image_color_value?: {
1259
+ palette: {
1260
+ rgb: {
1261
+ blue: number;
1262
+ green: number;
1263
+ red: number;
1553
1264
  };
1554
- }[];
1555
- user_mentions: unknown[];
1556
- urls: {
1557
- display_url: string;
1558
- expanded_url: string;
1559
- url: string;
1560
- indices: number[];
1561
- }[];
1562
- hashtags: {
1563
- indices: number[];
1564
- text: string;
1565
- }[];
1566
- symbols: unknown[];
1567
- };
1568
- extended_entities: {
1569
- media: {
1570
- display_url: string;
1571
- expanded_url: string;
1572
- id_str: string;
1573
- indices: number[];
1574
- media_key: string;
1575
- media_url_https: string;
1576
- type: string;
1577
- url: string;
1578
- ext_media_availability: {
1579
- status: string;
1580
- };
1581
- features: {
1582
- large: {
1583
- faces: {
1584
- x: number;
1585
- y: number;
1586
- h: number;
1587
- w: number;
1588
- }[];
1589
- };
1590
- medium: {
1591
- faces: {
1592
- x: number;
1593
- y: number;
1594
- h: number;
1595
- w: number;
1596
- }[];
1597
- };
1598
- small: {
1599
- faces: {
1600
- x: number;
1601
- y: number;
1602
- h: number;
1603
- w: number;
1604
- }[];
1605
- };
1606
- orig: {
1607
- faces: {
1608
- x: number;
1609
- y: number;
1610
- h: number;
1611
- w: number;
1612
- }[];
1613
- };
1614
- };
1615
- sizes: {
1616
- large: {
1617
- h: number;
1618
- w: number;
1619
- resize: string;
1620
- };
1621
- medium: {
1622
- h: number;
1623
- w: number;
1624
- resize: string;
1625
- };
1626
- small: {
1627
- h: number;
1628
- w: number;
1629
- resize: string;
1630
- };
1631
- thumb: {
1632
- h: number;
1633
- w: number;
1634
- resize: string;
1635
- };
1636
- };
1637
- original_info: {
1638
- height: number;
1639
- width: number;
1640
- focus_rects: {
1641
- x: number;
1642
- y: number;
1643
- w: number;
1644
- h: number;
1645
- }[];
1646
- };
1647
- }[];
1648
- };
1649
- favorite_count: number;
1650
- favorited: boolean;
1651
- full_text: string;
1652
- is_quote_status: boolean;
1653
- lang: string;
1654
- limited_actions: string;
1655
- possibly_sensitive: boolean;
1656
- possibly_sensitive_editable: boolean;
1657
- quote_count: number;
1658
- reply_count: number;
1659
- retweet_count: number;
1660
- retweeted: boolean;
1661
- user_id_str: string;
1662
- id_str: string;
1663
- };
1664
- };
1665
- limitedActionResults?: {
1666
- limited_actions: {
1667
- action: string;
1668
- prompt: {
1669
- __typename: string;
1670
- cta_type: string;
1671
- headline: {
1672
- text: string;
1673
- entities: unknown[];
1674
- };
1675
- subtext: {
1676
- text: string;
1677
- entities: unknown[];
1678
- };
1679
- };
1680
- }[];
1681
- };
1682
- note_tweet?: {
1683
- is_expandable: boolean;
1684
- note_tweet_results: {
1685
- result: {
1686
- id: string;
1687
- text: string;
1688
- entity_set: {
1689
- user_mentions: {
1690
- id_str: string;
1691
- name: string;
1692
- screen_name: string;
1693
- indices: number[];
1694
- }[];
1695
- urls: {
1696
- display_url: string;
1697
- expanded_url: string;
1698
- url: string;
1699
- indices: number[];
1700
- }[];
1701
- hashtags: {
1702
- indices: number[];
1703
- text: string;
1704
- }[];
1705
- symbols: {
1706
- indices: number[];
1707
- text: string;
1708
- }[];
1709
- };
1710
- richtext?: {
1711
- richtext_tags: {
1712
- from_index: number;
1713
- to_index: number;
1714
- richtext_types: string[];
1715
- }[];
1716
- };
1717
- media?: {
1718
- inline_media: unknown[];
1719
- };
1720
- };
1721
- };
1722
- };
1723
- quotedRefResult?: {
1724
- result: {
1725
- __typename: string;
1726
- rest_id: string;
1727
- };
1728
- };
1729
- previous_counts?: {
1730
- bookmark_count: number;
1731
- favorite_count: number;
1732
- quote_count: number;
1733
- reply_count: number;
1734
- retweet_count: number;
1735
- };
1736
- };
1737
- };
1738
- note_tweet?: {
1739
- is_expandable: boolean;
1740
- note_tweet_results: {
1741
- result: {
1742
- id: string;
1743
- text: string;
1744
- entity_set: {
1745
- user_mentions: {
1746
- id_str: string;
1747
- name: string;
1748
- screen_name: string;
1749
- indices: number[];
1750
- }[];
1751
- urls: {
1752
- display_url: string;
1753
- expanded_url: string;
1754
- url: string;
1755
- indices: number[];
1756
- }[];
1757
- hashtags: {
1758
- indices: number[];
1759
- text: string;
1760
- }[];
1761
- symbols: {
1762
- indices: number[];
1763
- text: string;
1764
- }[];
1765
- };
1766
- richtext?: {
1767
- richtext_tags: unknown[];
1768
- };
1769
- media?: {
1770
- inline_media: unknown[];
1771
- };
1772
- };
1773
- };
1774
- };
1775
- card?: {
1776
- rest_id: string;
1777
- legacy: {
1778
- binding_values: {
1779
- key: string;
1780
- value: {
1781
- string_value?: string;
1782
- type: string;
1783
- scribe_key?: string;
1784
- image_value?: {
1785
- alt?: string;
1786
- height: number;
1787
- width: number;
1788
- url: string;
1789
- };
1790
- user_value?: {
1791
- id_str: string;
1792
- path: unknown[];
1793
- };
1794
- image_color_value?: {
1795
- palette: {
1796
- rgb: {
1797
- blue: number;
1798
- green: number;
1799
- red: number;
1800
- };
1801
- percentage: number;
1265
+ percentage: number;
1802
1266
  }[];
1803
1267
  };
1268
+ boolean_value?: boolean;
1804
1269
  };
1805
1270
  }[];
1806
1271
  card_platform: {
@@ -1821,20 +1286,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1821
1286
  __typename: string;
1822
1287
  id: string;
1823
1288
  rest_id: string;
1824
- affiliates_highlighted_label: {
1825
- label?: {
1826
- url: {
1827
- url: string;
1828
- urlType: string;
1829
- };
1830
- badge: {
1831
- url: string;
1832
- };
1833
- description: string;
1834
- userLabelType: string;
1835
- userLabelDisplayType: string;
1836
- };
1837
- };
1289
+ affiliates_highlighted_label: {};
1838
1290
  has_graduated_access: boolean;
1839
1291
  is_blue_verified: boolean;
1840
1292
  profile_image_shape: string;
@@ -1847,7 +1299,12 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1847
1299
  description: string;
1848
1300
  entities: {
1849
1301
  description: {
1850
- urls: unknown[];
1302
+ urls: {
1303
+ display_url: string;
1304
+ expanded_url: string;
1305
+ url: string;
1306
+ indices: number[];
1307
+ }[];
1851
1308
  };
1852
1309
  url: {
1853
1310
  urls: {
@@ -1883,6 +1340,15 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1883
1340
  want_retweets: boolean;
1884
1341
  withheld_in_countries: unknown[];
1885
1342
  };
1343
+ professional?: {
1344
+ rest_id: string;
1345
+ professional_type: string;
1346
+ category: {
1347
+ id: number;
1348
+ name: string;
1349
+ icon_name: string;
1350
+ }[];
1351
+ };
1886
1352
  };
1887
1353
  }[];
1888
1354
  };
@@ -1899,148 +1365,207 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
1899
1365
  };
1900
1366
  };
1901
1367
  };
1902
- scopes?: {
1903
- followers: boolean;
1904
- };
1905
- quoted_status_id_str?: string;
1906
- quoted_status_permalink?: {
1907
- url: string;
1908
- expanded: string;
1909
- display: string;
1910
- };
1911
- };
1912
- card?: {
1913
- rest_id: string;
1914
- legacy: {
1915
- binding_values: {
1916
- key: string;
1917
- value: {
1918
- string_value?: string;
1919
- type: string;
1920
- scribe_key?: string;
1921
- image_value?: {
1922
- height: number;
1923
- width: number;
1924
- url: string;
1925
- alt?: string;
1368
+ extended_entities?: {
1369
+ media: {
1370
+ display_url: string;
1371
+ expanded_url: string;
1372
+ id_str: string;
1373
+ indices: number[];
1374
+ media_key: string;
1375
+ media_url_https: string;
1376
+ type: string;
1377
+ url: string;
1378
+ ext_media_availability: {
1379
+ status: string;
1380
+ };
1381
+ features: {
1382
+ large?: {
1383
+ faces: {
1384
+ x: number;
1385
+ y: number;
1386
+ h: number;
1387
+ w: number;
1388
+ }[];
1926
1389
  };
1927
- image_color_value?: {
1928
- palette: {
1929
- rgb: {
1930
- blue: number;
1931
- green: number;
1932
- red: number;
1933
- };
1934
- percentage: number;
1390
+ medium?: {
1391
+ faces: {
1392
+ x: number;
1393
+ y: number;
1394
+ h: number;
1395
+ w: number;
1935
1396
  }[];
1936
1397
  };
1937
- user_value?: {
1938
- id_str: string;
1939
- path: unknown[];
1398
+ small?: {
1399
+ faces: {
1400
+ x: number;
1401
+ y: number;
1402
+ h: number;
1403
+ w: number;
1404
+ }[];
1405
+ };
1406
+ orig?: {
1407
+ faces: {
1408
+ x: number;
1409
+ y: number;
1410
+ h: number;
1411
+ w: number;
1412
+ }[];
1413
+ };
1414
+ all?: {
1415
+ tags: {
1416
+ user_id: string;
1417
+ name: string;
1418
+ screen_name: string;
1419
+ type: string;
1420
+ }[];
1940
1421
  };
1941
1422
  };
1942
- }[];
1943
- card_platform: {
1944
- platform: {
1945
- audience: {
1946
- name: string;
1423
+ sizes: {
1424
+ large: {
1425
+ h: number;
1426
+ w: number;
1427
+ resize: string;
1947
1428
  };
1948
- device: {
1949
- name: string;
1950
- version: string;
1429
+ medium: {
1430
+ h: number;
1431
+ w: number;
1432
+ resize: string;
1433
+ };
1434
+ small: {
1435
+ h: number;
1436
+ w: number;
1437
+ resize: string;
1438
+ };
1439
+ thumb: {
1440
+ h: number;
1441
+ w: number;
1442
+ resize: string;
1951
1443
  };
1952
1444
  };
1953
- };
1954
- name: string;
1955
- url: string;
1956
- user_refs_results: {
1957
- result: {
1958
- __typename: string;
1959
- id: string;
1960
- rest_id: string;
1961
- affiliates_highlighted_label: {
1962
- label?: {
1963
- url: {
1964
- url: string;
1965
- urlType: string;
1966
- };
1967
- badge: {
1968
- url: string;
1969
- };
1970
- description: string;
1971
- userLabelType: string;
1972
- userLabelDisplayType: string;
1445
+ original_info: {
1446
+ height: number;
1447
+ width: number;
1448
+ focus_rects?: {
1449
+ x: number;
1450
+ y: number;
1451
+ w: number;
1452
+ h: number;
1453
+ }[];
1454
+ };
1455
+ additional_media_info?: {
1456
+ monetizable: boolean;
1457
+ title?: string;
1458
+ description?: string;
1459
+ call_to_actions?: {
1460
+ visit_site: {
1461
+ url: string;
1973
1462
  };
1974
1463
  };
1975
- has_graduated_access: boolean;
1976
- is_blue_verified: boolean;
1977
- profile_image_shape: string;
1978
- legacy: {
1979
- can_dm: boolean;
1980
- can_media_tag: boolean;
1981
- created_at: string;
1982
- default_profile: boolean;
1983
- default_profile_image: boolean;
1984
- description: string;
1985
- entities: {
1986
- description: {
1987
- urls: {
1988
- display_url: string;
1989
- expanded_url: string;
1990
- url: string;
1991
- indices: number[];
1992
- }[];
1993
- };
1994
- url: {
1995
- urls: {
1996
- display_url: string;
1997
- expanded_url: string;
1998
- url: string;
1999
- indices: number[];
2000
- }[];
1464
+ embeddable?: boolean;
1465
+ source_user?: {
1466
+ user_results: {
1467
+ result: {
1468
+ __typename: string;
1469
+ id: string;
1470
+ rest_id: string;
1471
+ affiliates_highlighted_label: {};
1472
+ has_graduated_access: boolean;
1473
+ is_blue_verified: boolean;
1474
+ profile_image_shape: string;
1475
+ legacy: {
1476
+ can_dm: boolean;
1477
+ can_media_tag: boolean;
1478
+ created_at: string;
1479
+ default_profile: boolean;
1480
+ default_profile_image: boolean;
1481
+ description: string;
1482
+ entities: {
1483
+ description: {
1484
+ urls: {
1485
+ display_url: string;
1486
+ expanded_url: string;
1487
+ url: string;
1488
+ indices: number[];
1489
+ }[];
1490
+ };
1491
+ url?: {
1492
+ urls: {
1493
+ display_url: string;
1494
+ expanded_url: string;
1495
+ url: string;
1496
+ indices: number[];
1497
+ }[];
1498
+ };
1499
+ };
1500
+ fast_followers_count: number;
1501
+ favourites_count: number;
1502
+ followers_count: number;
1503
+ friends_count: number;
1504
+ has_custom_timelines: boolean;
1505
+ is_translator: boolean;
1506
+ listed_count: number;
1507
+ location: string;
1508
+ media_count: number;
1509
+ name: string;
1510
+ normal_followers_count: number;
1511
+ pinned_tweet_ids_str: string[];
1512
+ possibly_sensitive: boolean;
1513
+ profile_banner_url: string;
1514
+ profile_image_url_https: string;
1515
+ profile_interstitial_type: string;
1516
+ screen_name: string;
1517
+ statuses_count: number;
1518
+ translator_type: string;
1519
+ url?: string;
1520
+ verified: boolean;
1521
+ want_retweets: boolean;
1522
+ withheld_in_countries: unknown[];
1523
+ };
1524
+ professional?: {
1525
+ rest_id: string;
1526
+ professional_type: string;
1527
+ category: {
1528
+ id: number;
1529
+ name: string;
1530
+ icon_name: string;
1531
+ }[];
1532
+ };
1533
+ super_follow_eligible?: boolean;
2001
1534
  };
2002
1535
  };
2003
- fast_followers_count: number;
2004
- favourites_count: number;
2005
- followers_count: number;
2006
- friends_count: number;
2007
- has_custom_timelines: boolean;
2008
- is_translator: boolean;
2009
- listed_count: number;
2010
- location: string;
2011
- media_count: number;
2012
- name: string;
2013
- normal_followers_count: number;
2014
- pinned_tweet_ids_str: string[];
2015
- possibly_sensitive: boolean;
2016
- profile_banner_url: string;
2017
- profile_image_url_https: string;
2018
- profile_interstitial_type: string;
2019
- screen_name: string;
2020
- statuses_count: number;
2021
- translator_type: string;
2022
- url: string;
2023
- verified: boolean;
2024
- verified_type?: string;
2025
- want_retweets: boolean;
2026
- withheld_in_countries: unknown[];
2027
- protected?: boolean;
2028
- };
2029
- professional?: {
2030
- rest_id: string;
2031
- professional_type: string;
2032
- category: {
2033
- id: number;
2034
- name: string;
2035
- icon_name: string;
2036
- }[];
2037
1536
  };
2038
1537
  };
1538
+ mediaStats?: {
1539
+ viewCount: number;
1540
+ };
1541
+ video_info?: {
1542
+ aspect_ratio: number[];
1543
+ duration_millis?: number;
1544
+ variants: {
1545
+ bitrate?: number;
1546
+ content_type: string;
1547
+ url: string;
1548
+ }[];
1549
+ };
1550
+ source_status_id_str?: string;
1551
+ source_user_id_str?: string;
1552
+ ext_alt_text?: string;
2039
1553
  }[];
2040
1554
  };
2041
- };
2042
- unified_card?: {
2043
- card_fetch_state: string;
1555
+ possibly_sensitive?: boolean;
1556
+ possibly_sensitive_editable?: boolean;
1557
+ scopes?: {
1558
+ followers: boolean;
1559
+ };
1560
+ quoted_status_id_str?: string;
1561
+ quoted_status_permalink?: {
1562
+ url: string;
1563
+ expanded: string;
1564
+ display: string;
1565
+ };
1566
+ in_reply_to_screen_name?: string;
1567
+ in_reply_to_status_id_str?: string;
1568
+ in_reply_to_user_id_str?: string;
2044
1569
  };
2045
1570
  tweet?: {
2046
1571
  rest_id: string;
@@ -2124,28 +1649,9 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2124
1649
  binding_values: {
2125
1650
  key: string;
2126
1651
  value: {
2127
- image_value?: {
2128
- height: number;
2129
- width: number;
2130
- url: string;
2131
- };
1652
+ string_value: string;
2132
1653
  type: string;
2133
- image_color_value?: {
2134
- palette: {
2135
- rgb: {
2136
- blue: number;
2137
- green: number;
2138
- red: number;
2139
- };
2140
- percentage: number;
2141
- }[];
2142
- };
2143
1654
  scribe_key?: string;
2144
- user_value?: {
2145
- id_str: string;
2146
- path: unknown[];
2147
- };
2148
- string_value?: string;
2149
1655
  };
2150
1656
  }[];
2151
1657
  card_platform: {
@@ -2161,81 +1667,19 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2161
1667
  };
2162
1668
  name: string;
2163
1669
  url: string;
2164
- user_refs_results: {
2165
- result: {
2166
- __typename: string;
2167
- id: string;
2168
- rest_id: string;
2169
- affiliates_highlighted_label: {};
2170
- has_graduated_access: boolean;
2171
- is_blue_verified: boolean;
2172
- profile_image_shape: string;
2173
- legacy: {
2174
- can_dm: boolean;
2175
- can_media_tag: boolean;
2176
- created_at: string;
2177
- default_profile: boolean;
2178
- default_profile_image: boolean;
2179
- description: string;
2180
- entities: {
2181
- description: {
2182
- urls: unknown[];
2183
- };
2184
- url: {
2185
- urls: {
2186
- display_url: string;
2187
- expanded_url: string;
2188
- url: string;
2189
- indices: number[];
2190
- }[];
2191
- };
2192
- };
2193
- fast_followers_count: number;
2194
- favourites_count: number;
2195
- followers_count: number;
2196
- friends_count: number;
2197
- has_custom_timelines: boolean;
2198
- is_translator: boolean;
2199
- listed_count: number;
2200
- location: string;
2201
- media_count: number;
2202
- name: string;
2203
- normal_followers_count: number;
2204
- pinned_tweet_ids_str: unknown[];
2205
- possibly_sensitive: boolean;
2206
- profile_banner_url: string;
2207
- profile_image_url_https: string;
2208
- profile_interstitial_type: string;
2209
- screen_name: string;
2210
- statuses_count: number;
2211
- translator_type: string;
2212
- url: string;
2213
- verified: boolean;
2214
- verified_type: string;
2215
- want_retweets: boolean;
2216
- withheld_in_countries: unknown[];
2217
- };
2218
- };
2219
- }[];
1670
+ user_refs_results: unknown[];
2220
1671
  };
2221
1672
  };
2222
1673
  unified_card?: {
2223
1674
  card_fetch_state: string;
2224
1675
  };
2225
1676
  edit_control: {
2226
- edit_tweet_ids?: string[];
2227
- editable_until_msecs?: string;
2228
- is_edit_eligible?: boolean;
2229
- edits_remaining?: string;
2230
- initial_tweet_id?: string;
2231
- edit_control_initial?: {
2232
- edit_tweet_ids: string[];
2233
- editable_until_msecs: string;
2234
- is_edit_eligible: boolean;
2235
- edits_remaining: string;
2236
- };
1677
+ edit_tweet_ids: string[];
1678
+ editable_until_msecs: string;
1679
+ is_edit_eligible: boolean;
1680
+ edits_remaining: string;
2237
1681
  };
2238
- edit_perspective: {
1682
+ edit_perspective?: {
2239
1683
  favorited: boolean;
2240
1684
  retweeted: boolean;
2241
1685
  };
@@ -2286,10 +1730,12 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2286
1730
  id_str: string;
2287
1731
  indices: number[];
2288
1732
  media_url_https: string;
1733
+ source_status_id_str?: string;
1734
+ source_user_id_str?: string;
2289
1735
  type: string;
2290
1736
  url: string;
2291
1737
  features: {
2292
- large: {
1738
+ large?: {
2293
1739
  faces: {
2294
1740
  x: number;
2295
1741
  y: number;
@@ -2297,7 +1743,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2297
1743
  w: number;
2298
1744
  }[];
2299
1745
  };
2300
- medium: {
1746
+ medium?: {
2301
1747
  faces: {
2302
1748
  x: number;
2303
1749
  y: number;
@@ -2305,7 +1751,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2305
1751
  w: number;
2306
1752
  }[];
2307
1753
  };
2308
- small: {
1754
+ small?: {
2309
1755
  faces: {
2310
1756
  x: number;
2311
1757
  y: number;
@@ -2313,7 +1759,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2313
1759
  w: number;
2314
1760
  }[];
2315
1761
  };
2316
- orig: {
1762
+ orig?: {
2317
1763
  faces: {
2318
1764
  x: number;
2319
1765
  y: number;
@@ -2347,15 +1793,13 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2347
1793
  original_info: {
2348
1794
  height: number;
2349
1795
  width: number;
2350
- focus_rects: {
1796
+ focus_rects?: {
2351
1797
  x: number;
2352
1798
  y: number;
2353
1799
  w: number;
2354
1800
  h: number;
2355
1801
  }[];
2356
1802
  };
2357
- source_status_id_str?: string;
2358
- source_user_id_str?: string;
2359
1803
  }[];
2360
1804
  };
2361
1805
  favorite_count: number;
@@ -2370,94 +1814,11 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2370
1814
  reply_count: number;
2371
1815
  retweet_count: number;
2372
1816
  retweeted: boolean;
2373
- user_id_str: string;
2374
- id_str: string;
2375
1817
  scopes?: {
2376
1818
  followers: boolean;
2377
1819
  };
2378
- extended_entities?: {
2379
- media: {
2380
- display_url: string;
2381
- expanded_url: string;
2382
- id_str: string;
2383
- indices: number[];
2384
- media_key: string;
2385
- media_url_https: string;
2386
- type: string;
2387
- url: string;
2388
- ext_media_availability: {
2389
- status: string;
2390
- };
2391
- features: {
2392
- large: {
2393
- faces: {
2394
- x: number;
2395
- y: number;
2396
- h: number;
2397
- w: number;
2398
- }[];
2399
- };
2400
- medium: {
2401
- faces: {
2402
- x: number;
2403
- y: number;
2404
- h: number;
2405
- w: number;
2406
- }[];
2407
- };
2408
- small: {
2409
- faces: {
2410
- x: number;
2411
- y: number;
2412
- h: number;
2413
- w: number;
2414
- }[];
2415
- };
2416
- orig: {
2417
- faces: {
2418
- x: number;
2419
- y: number;
2420
- h: number;
2421
- w: number;
2422
- }[];
2423
- };
2424
- };
2425
- sizes: {
2426
- large: {
2427
- h: number;
2428
- w: number;
2429
- resize: string;
2430
- };
2431
- medium: {
2432
- h: number;
2433
- w: number;
2434
- resize: string;
2435
- };
2436
- small: {
2437
- h: number;
2438
- w: number;
2439
- resize: string;
2440
- };
2441
- thumb: {
2442
- h: number;
2443
- w: number;
2444
- resize: string;
2445
- };
2446
- };
2447
- original_info: {
2448
- height: number;
2449
- width: number;
2450
- focus_rects: {
2451
- x: number;
2452
- y: number;
2453
- w: number;
2454
- h: number;
2455
- }[];
2456
- };
2457
- source_status_id_str?: string;
2458
- source_user_id_str?: string;
2459
- }[];
2460
- };
1820
+ user_id_str: string;
1821
+ id_str: string;
2461
1822
  retweeted_status_result?: {
2462
1823
  result: {
2463
1824
  __typename: string;
@@ -2482,14 +1843,9 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2482
1843
  description: string;
2483
1844
  entities: {
2484
1845
  description: {
2485
- urls: {
2486
- display_url: string;
2487
- expanded_url: string;
2488
- url: string;
2489
- indices: number[];
2490
- }[];
1846
+ urls: unknown[];
2491
1847
  };
2492
- url?: {
1848
+ url: {
2493
1849
  urls: {
2494
1850
  display_url: string;
2495
1851
  expanded_url: string;
@@ -2511,25 +1867,21 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2511
1867
  normal_followers_count: number;
2512
1868
  pinned_tweet_ids_str: string[];
2513
1869
  possibly_sensitive: boolean;
2514
- profile_banner_url?: string;
1870
+ profile_banner_url: string;
2515
1871
  profile_image_url_https: string;
2516
1872
  profile_interstitial_type: string;
2517
1873
  screen_name: string;
2518
1874
  statuses_count: number;
2519
1875
  translator_type: string;
1876
+ url: string;
2520
1877
  verified: boolean;
2521
1878
  want_retweets: boolean;
2522
1879
  withheld_in_countries: unknown[];
2523
- url?: string;
2524
1880
  };
2525
1881
  professional?: {
2526
1882
  rest_id: string;
2527
1883
  professional_type: string;
2528
- category: {
2529
- id: number;
2530
- name: string;
2531
- icon_name: string;
2532
- }[];
1884
+ category: unknown[];
2533
1885
  };
2534
1886
  };
2535
1887
  };
@@ -2540,7 +1892,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2540
1892
  is_edit_eligible: boolean;
2541
1893
  edits_remaining: string;
2542
1894
  };
2543
- edit_perspective: {
1895
+ edit_perspective?: {
2544
1896
  favorited: boolean;
2545
1897
  retweeted: boolean;
2546
1898
  };
@@ -2649,12 +2001,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2649
2001
  screen_name: string;
2650
2002
  indices: number[];
2651
2003
  }[];
2652
- urls: {
2653
- display_url: string;
2654
- expanded_url: string;
2655
- url: string;
2656
- indices: number[];
2657
- }[];
2004
+ urls: unknown[];
2658
2005
  hashtags: {
2659
2006
  indices: number[];
2660
2007
  text: string;
@@ -2671,6 +2018,12 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2671
2018
  media_url_https: string;
2672
2019
  type: string;
2673
2020
  url: string;
2021
+ additional_media_info?: {
2022
+ monetizable: boolean;
2023
+ };
2024
+ mediaStats?: {
2025
+ viewCount: number;
2026
+ };
2674
2027
  ext_media_availability: {
2675
2028
  status: string;
2676
2029
  };
@@ -2740,12 +2093,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2740
2093
  h: number;
2741
2094
  }[];
2742
2095
  };
2743
- additional_media_info?: {
2744
- monetizable: boolean;
2745
- };
2746
- mediaStats?: {
2747
- viewCount: number;
2748
- };
2749
2096
  video_info?: {
2750
2097
  aspect_ratio: number[];
2751
2098
  duration_millis: number;
@@ -2790,16 +2137,164 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2790
2137
  };
2791
2138
  }[];
2792
2139
  };
2793
- };
2140
+ };
2141
+ };
2142
+ extended_entities?: {
2143
+ media: {
2144
+ display_url: string;
2145
+ expanded_url: string;
2146
+ id_str: string;
2147
+ indices: number[];
2148
+ media_key: string;
2149
+ media_url_https: string;
2150
+ source_status_id_str?: string;
2151
+ source_user_id_str?: string;
2152
+ type: string;
2153
+ url: string;
2154
+ additional_media_info?: {
2155
+ monetizable: boolean;
2156
+ source_user?: {
2157
+ user_results: {
2158
+ result: {
2159
+ __typename: string;
2160
+ id: string;
2161
+ rest_id: string;
2162
+ affiliates_highlighted_label: {};
2163
+ has_graduated_access: boolean;
2164
+ is_blue_verified: boolean;
2165
+ profile_image_shape: string;
2166
+ legacy: {
2167
+ can_dm: boolean;
2168
+ can_media_tag: boolean;
2169
+ created_at: string;
2170
+ default_profile: boolean;
2171
+ default_profile_image: boolean;
2172
+ description: string;
2173
+ entities: {
2174
+ description: {
2175
+ urls: unknown[];
2176
+ };
2177
+ url: {
2178
+ urls: {
2179
+ display_url: string;
2180
+ expanded_url: string;
2181
+ url: string;
2182
+ indices: number[];
2183
+ }[];
2184
+ };
2185
+ };
2186
+ fast_followers_count: number;
2187
+ favourites_count: number;
2188
+ followers_count: number;
2189
+ friends_count: number;
2190
+ has_custom_timelines: boolean;
2191
+ is_translator: boolean;
2192
+ listed_count: number;
2193
+ location: string;
2194
+ media_count: number;
2195
+ name: string;
2196
+ normal_followers_count: number;
2197
+ pinned_tweet_ids_str: string[];
2198
+ possibly_sensitive: boolean;
2199
+ profile_banner_url: string;
2200
+ profile_image_url_https: string;
2201
+ profile_interstitial_type: string;
2202
+ screen_name: string;
2203
+ statuses_count: number;
2204
+ translator_type: string;
2205
+ url: string;
2206
+ verified: boolean;
2207
+ want_retweets: boolean;
2208
+ withheld_in_countries: unknown[];
2209
+ };
2210
+ };
2211
+ };
2212
+ };
2213
+ };
2214
+ mediaStats?: {
2215
+ viewCount: number;
2216
+ };
2217
+ ext_media_availability: {
2218
+ status: string;
2219
+ };
2220
+ features: {
2221
+ large?: {
2222
+ faces: {
2223
+ x: number;
2224
+ y: number;
2225
+ h: number;
2226
+ w: number;
2227
+ }[];
2228
+ };
2229
+ medium?: {
2230
+ faces: {
2231
+ x: number;
2232
+ y: number;
2233
+ h: number;
2234
+ w: number;
2235
+ }[];
2236
+ };
2237
+ small?: {
2238
+ faces: {
2239
+ x: number;
2240
+ y: number;
2241
+ h: number;
2242
+ w: number;
2243
+ }[];
2244
+ };
2245
+ orig?: {
2246
+ faces: {
2247
+ x: number;
2248
+ y: number;
2249
+ h: number;
2250
+ w: number;
2251
+ }[];
2252
+ };
2253
+ };
2254
+ sizes: {
2255
+ large: {
2256
+ h: number;
2257
+ w: number;
2258
+ resize: string;
2259
+ };
2260
+ medium: {
2261
+ h: number;
2262
+ w: number;
2263
+ resize: string;
2264
+ };
2265
+ small: {
2266
+ h: number;
2267
+ w: number;
2268
+ resize: string;
2269
+ };
2270
+ thumb: {
2271
+ h: number;
2272
+ w: number;
2273
+ resize: string;
2274
+ };
2275
+ };
2276
+ original_info: {
2277
+ height: number;
2278
+ width: number;
2279
+ focus_rects?: {
2280
+ x: number;
2281
+ y: number;
2282
+ w: number;
2283
+ h: number;
2284
+ }[];
2285
+ };
2286
+ video_info?: {
2287
+ aspect_ratio: number[];
2288
+ duration_millis: number;
2289
+ variants: {
2290
+ bitrate?: number;
2291
+ content_type: string;
2292
+ url: string;
2293
+ }[];
2294
+ };
2295
+ }[];
2794
2296
  };
2795
2297
  };
2796
- previous_counts?: {
2797
- bookmark_count: number;
2798
- favorite_count: number;
2799
- quote_count: number;
2800
- reply_count: number;
2801
- retweet_count: number;
2802
- };
2803
2298
  note_tweet?: {
2804
2299
  is_expandable: boolean;
2805
2300
  note_tweet_results: {
@@ -2817,6 +2312,12 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2817
2312
  hashtags: unknown[];
2818
2313
  symbols: unknown[];
2819
2314
  };
2315
+ richtext: {
2316
+ richtext_tags: unknown[];
2317
+ };
2318
+ media: {
2319
+ inline_media: unknown[];
2320
+ };
2820
2321
  };
2821
2322
  };
2822
2323
  };
@@ -2838,17 +2339,163 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2838
2339
  };
2839
2340
  }[];
2840
2341
  };
2342
+ card?: {
2343
+ rest_id: string;
2344
+ legacy: {
2345
+ binding_values: {
2346
+ key: string;
2347
+ value: {
2348
+ image_value?: {
2349
+ height: number;
2350
+ width: number;
2351
+ url: string;
2352
+ alt?: string;
2353
+ };
2354
+ type: string;
2355
+ string_value?: string;
2356
+ scribe_key?: string;
2357
+ user_value?: {
2358
+ id_str: string;
2359
+ path: unknown[];
2360
+ };
2361
+ image_color_value?: {
2362
+ palette: {
2363
+ rgb: {
2364
+ blue: number;
2365
+ green: number;
2366
+ red: number;
2367
+ };
2368
+ percentage: number;
2369
+ }[];
2370
+ };
2371
+ boolean_value?: boolean;
2372
+ };
2373
+ }[];
2374
+ card_platform: {
2375
+ platform: {
2376
+ audience: {
2377
+ name: string;
2378
+ };
2379
+ device: {
2380
+ name: string;
2381
+ version: string;
2382
+ };
2383
+ };
2384
+ };
2385
+ name: string;
2386
+ url: string;
2387
+ user_refs_results: {
2388
+ result: {
2389
+ __typename: string;
2390
+ id: string;
2391
+ rest_id: string;
2392
+ affiliates_highlighted_label: {
2393
+ label?: {
2394
+ url: {
2395
+ url: string;
2396
+ urlType: string;
2397
+ };
2398
+ badge: {
2399
+ url: string;
2400
+ };
2401
+ description: string;
2402
+ userLabelType: string;
2403
+ userLabelDisplayType: string;
2404
+ };
2405
+ };
2406
+ has_graduated_access: boolean;
2407
+ is_blue_verified: boolean;
2408
+ profile_image_shape: string;
2409
+ legacy: {
2410
+ can_dm: boolean;
2411
+ can_media_tag: boolean;
2412
+ created_at: string;
2413
+ default_profile: boolean;
2414
+ default_profile_image: boolean;
2415
+ description: string;
2416
+ entities: {
2417
+ description: {
2418
+ urls: {
2419
+ display_url: string;
2420
+ expanded_url: string;
2421
+ url: string;
2422
+ indices: number[];
2423
+ }[];
2424
+ };
2425
+ url?: {
2426
+ urls: {
2427
+ display_url: string;
2428
+ expanded_url: string;
2429
+ url: string;
2430
+ indices: number[];
2431
+ }[];
2432
+ };
2433
+ };
2434
+ fast_followers_count: number;
2435
+ favourites_count: number;
2436
+ followers_count: number;
2437
+ friends_count: number;
2438
+ has_custom_timelines: boolean;
2439
+ is_translator: boolean;
2440
+ listed_count: number;
2441
+ location: string;
2442
+ media_count: number;
2443
+ name: string;
2444
+ normal_followers_count: number;
2445
+ pinned_tweet_ids_str: string[];
2446
+ possibly_sensitive: boolean;
2447
+ profile_banner_url?: string;
2448
+ profile_image_url_https: string;
2449
+ profile_interstitial_type: string;
2450
+ screen_name: string;
2451
+ statuses_count: number;
2452
+ translator_type: string;
2453
+ url?: string;
2454
+ verified: boolean;
2455
+ want_retweets: boolean;
2456
+ withheld_in_countries: unknown[];
2457
+ verified_type?: string;
2458
+ };
2459
+ professional?: {
2460
+ rest_id: string;
2461
+ professional_type: string;
2462
+ category: {
2463
+ id: number;
2464
+ name: string;
2465
+ icon_name: string;
2466
+ }[];
2467
+ };
2468
+ };
2469
+ }[];
2470
+ };
2471
+ };
2472
+ unified_card?: {
2473
+ card_fetch_state: string;
2474
+ };
2841
2475
  quoted_status_result?: {
2842
2476
  result: {
2843
2477
  __typename: string;
2844
- rest_id?: string;
2845
- core?: {
2478
+ rest_id: string;
2479
+ core: {
2846
2480
  user_results: {
2847
2481
  result: {
2848
2482
  __typename: string;
2849
2483
  id: string;
2850
2484
  rest_id: string;
2851
- affiliates_highlighted_label: {};
2485
+ affiliates_highlighted_label: {
2486
+ label?: {
2487
+ url: {
2488
+ url: string;
2489
+ urlType: string;
2490
+ };
2491
+ badge: {
2492
+ url: string;
2493
+ };
2494
+ description: string;
2495
+ userLabelType: string;
2496
+ userLabelDisplayType: string;
2497
+ };
2498
+ };
2852
2499
  has_graduated_access: boolean;
2853
2500
  is_blue_verified: boolean;
2854
2501
  profile_image_shape: string;
@@ -2896,11 +2543,11 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2896
2543
  screen_name: string;
2897
2544
  statuses_count: number;
2898
2545
  translator_type: string;
2546
+ url?: string;
2899
2547
  verified: boolean;
2900
2548
  verified_type?: string;
2901
2549
  want_retweets: boolean;
2902
2550
  withheld_in_countries: unknown[];
2903
- url?: string;
2904
2551
  following?: boolean;
2905
2552
  };
2906
2553
  professional?: {
@@ -2915,7 +2562,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2915
2562
  };
2916
2563
  };
2917
2564
  };
2918
- edit_control?: {
2565
+ edit_control: {
2919
2566
  edit_tweet_ids: string[];
2920
2567
  editable_until_msecs: string;
2921
2568
  is_edit_eligible: boolean;
@@ -2925,19 +2572,36 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
2925
2572
  favorited: boolean;
2926
2573
  retweeted: boolean;
2927
2574
  };
2928
- is_translatable?: boolean;
2929
- views?: {
2575
+ is_translatable: boolean;
2576
+ views: {
2930
2577
  count: string;
2931
2578
  state: string;
2932
2579
  };
2933
- source?: string;
2934
- legacy?: {
2580
+ source: string;
2581
+ legacy: {
2935
2582
  bookmark_count: number;
2936
2583
  bookmarked: boolean;
2937
2584
  created_at: string;
2938
2585
  conversation_id_str: string;
2939
2586
  display_text_range: number[];
2940
2587
  entities: {
2588
+ user_mentions: {
2589
+ id_str: string;
2590
+ name: string;
2591
+ screen_name: string;
2592
+ indices: number[];
2593
+ }[];
2594
+ urls: {
2595
+ display_url: string;
2596
+ expanded_url: string;
2597
+ url: string;
2598
+ indices: number[];
2599
+ }[];
2600
+ hashtags: {
2601
+ indices: number[];
2602
+ text: string;
2603
+ }[];
2604
+ symbols: unknown[];
2941
2605
  media?: {
2942
2606
  display_url: string;
2943
2607
  expanded_url: string;
@@ -3013,24 +2677,18 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3013
2677
  }[];
3014
2678
  };
3015
2679
  }[];
3016
- user_mentions: {
3017
- id_str: string;
3018
- name: string;
3019
- screen_name: string;
3020
- indices: number[];
3021
- }[];
3022
- urls: {
3023
- display_url: string;
3024
- expanded_url: string;
3025
- url: string;
3026
- indices: number[];
3027
- }[];
3028
- hashtags: {
3029
- indices: number[];
3030
- text: string;
3031
- }[];
3032
- symbols: unknown[];
3033
2680
  };
2681
+ favorite_count: number;
2682
+ favorited: boolean;
2683
+ full_text: string;
2684
+ is_quote_status: boolean;
2685
+ lang: string;
2686
+ quote_count: number;
2687
+ reply_count: number;
2688
+ retweet_count: number;
2689
+ retweeted: boolean;
2690
+ user_id_str: string;
2691
+ id_str: string;
3034
2692
  extended_entities?: {
3035
2693
  media: {
3036
2694
  display_url: string;
@@ -3110,37 +2768,26 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3110
2768
  h: number;
3111
2769
  }[];
3112
2770
  };
2771
+ additional_media_info?: {
2772
+ monetizable: boolean;
2773
+ };
2774
+ mediaStats?: {
2775
+ viewCount: number;
2776
+ };
3113
2777
  video_info?: {
3114
2778
  aspect_ratio: number[];
2779
+ duration_millis?: number;
3115
2780
  variants: {
3116
2781
  bitrate?: number;
3117
2782
  content_type: string;
3118
2783
  url: string;
3119
2784
  }[];
3120
- duration_millis?: number;
3121
- };
3122
- additional_media_info?: {
3123
- monetizable: boolean;
3124
- };
3125
- mediaStats?: {
3126
- viewCount: number;
3127
2785
  };
3128
2786
  ext_alt_text?: string;
3129
2787
  }[];
3130
2788
  };
3131
- favorite_count: number;
3132
- favorited: boolean;
3133
- full_text: string;
3134
- is_quote_status: boolean;
3135
- lang: string;
3136
2789
  possibly_sensitive?: boolean;
3137
2790
  possibly_sensitive_editable?: boolean;
3138
- quote_count: number;
3139
- reply_count: number;
3140
- retweet_count: number;
3141
- retweeted: boolean;
3142
- user_id_str: string;
3143
- id_str: string;
3144
2791
  quoted_status_id_str?: string;
3145
2792
  quoted_status_permalink?: {
3146
2793
  url: string;
@@ -3148,10 +2795,56 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3148
2795
  display: string;
3149
2796
  };
3150
2797
  };
3151
- tweet?: {
2798
+ quotedRefResult?: {
2799
+ result: {
2800
+ __typename: string;
2801
+ rest_id: string;
2802
+ };
2803
+ };
2804
+ card?: {
3152
2805
  rest_id: string;
3153
- core: {
3154
- user_results: {
2806
+ legacy: {
2807
+ binding_values: {
2808
+ key: string;
2809
+ value: {
2810
+ string_value?: string;
2811
+ type: string;
2812
+ scribe_key?: string;
2813
+ image_value?: {
2814
+ height: number;
2815
+ width: number;
2816
+ url: string;
2817
+ };
2818
+ user_value?: {
2819
+ id_str: string;
2820
+ path: unknown[];
2821
+ };
2822
+ image_color_value?: {
2823
+ palette: {
2824
+ rgb: {
2825
+ blue: number;
2826
+ green: number;
2827
+ red: number;
2828
+ };
2829
+ percentage: number;
2830
+ }[];
2831
+ };
2832
+ };
2833
+ }[];
2834
+ card_platform: {
2835
+ platform: {
2836
+ audience: {
2837
+ name: string;
2838
+ };
2839
+ device: {
2840
+ name: string;
2841
+ version: string;
2842
+ };
2843
+ };
2844
+ };
2845
+ name: string;
2846
+ url: string;
2847
+ user_refs_results: {
3155
2848
  result: {
3156
2849
  __typename: string;
3157
2850
  id: string;
@@ -3171,6 +2864,14 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3171
2864
  description: {
3172
2865
  urls: unknown[];
3173
2866
  };
2867
+ url: {
2868
+ urls: {
2869
+ display_url: string;
2870
+ expanded_url: string;
2871
+ url: string;
2872
+ indices: number[];
2873
+ }[];
2874
+ };
3174
2875
  };
3175
2876
  fast_followers_count: number;
3176
2877
  favourites_count: number;
@@ -3180,218 +2881,68 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3180
2881
  is_translator: boolean;
3181
2882
  listed_count: number;
3182
2883
  location: string;
3183
- media_count: number;
3184
- name: string;
3185
- normal_followers_count: number;
3186
- pinned_tweet_ids_str: string[];
3187
- possibly_sensitive: boolean;
3188
- profile_image_url_https: string;
3189
- profile_interstitial_type: string;
3190
- screen_name: string;
3191
- statuses_count: number;
3192
- translator_type: string;
3193
- verified: boolean;
3194
- want_retweets: boolean;
3195
- withheld_in_countries: unknown[];
3196
- };
3197
- };
3198
- };
3199
- };
3200
- edit_control: {
3201
- edit_tweet_ids: string[];
3202
- editable_until_msecs: string;
3203
- is_edit_eligible: boolean;
3204
- edits_remaining: string;
3205
- };
3206
- edit_perspective: {
3207
- favorited: boolean;
3208
- retweeted: boolean;
3209
- };
3210
- is_translatable: boolean;
3211
- views: {
3212
- count: string;
3213
- state: string;
3214
- };
3215
- source: string;
3216
- legacy: {
3217
- bookmark_count: number;
3218
- bookmarked: boolean;
3219
- created_at: string;
3220
- conversation_control: {
3221
- policy: string;
3222
- conversation_owner_results: {
3223
- result: {
3224
- __typename: string;
3225
- legacy: {
3226
- screen_name: string;
3227
- };
3228
- };
3229
- };
3230
- };
3231
- conversation_id_str: string;
3232
- display_text_range: number[];
3233
- entities: {
3234
- media: {
3235
- display_url: string;
3236
- expanded_url: string;
3237
- id_str: string;
3238
- indices: number[];
3239
- media_url_https: string;
3240
- type: string;
3241
- url: string;
3242
- features: {
3243
- large: {
3244
- faces: unknown[];
3245
- };
3246
- medium: {
3247
- faces: unknown[];
3248
- };
3249
- small: {
3250
- faces: unknown[];
3251
- };
3252
- orig: {
3253
- faces: unknown[];
3254
- };
3255
- };
3256
- sizes: {
3257
- large: {
3258
- h: number;
3259
- w: number;
3260
- resize: string;
3261
- };
3262
- medium: {
3263
- h: number;
3264
- w: number;
3265
- resize: string;
3266
- };
3267
- small: {
3268
- h: number;
3269
- w: number;
3270
- resize: string;
3271
- };
3272
- thumb: {
3273
- h: number;
3274
- w: number;
3275
- resize: string;
3276
- };
3277
- };
3278
- original_info: {
3279
- height: number;
3280
- width: number;
3281
- focus_rects: {
3282
- x: number;
3283
- y: number;
3284
- w: number;
3285
- h: number;
3286
- }[];
3287
- };
3288
- }[];
3289
- user_mentions: unknown[];
3290
- urls: unknown[];
3291
- hashtags: unknown[];
3292
- symbols: unknown[];
3293
- };
3294
- extended_entities: {
3295
- media: {
3296
- display_url: string;
3297
- expanded_url: string;
3298
- id_str: string;
3299
- indices: number[];
3300
- media_key: string;
3301
- media_url_https: string;
3302
- type: string;
3303
- url: string;
3304
- ext_media_availability: {
3305
- status: string;
3306
- };
3307
- features: {
3308
- large: {
3309
- faces: unknown[];
3310
- };
3311
- medium: {
3312
- faces: unknown[];
3313
- };
3314
- small: {
3315
- faces: unknown[];
3316
- };
3317
- orig: {
3318
- faces: unknown[];
3319
- };
3320
- };
3321
- sizes: {
3322
- large: {
3323
- h: number;
3324
- w: number;
3325
- resize: string;
3326
- };
3327
- medium: {
3328
- h: number;
3329
- w: number;
3330
- resize: string;
3331
- };
3332
- small: {
3333
- h: number;
3334
- w: number;
3335
- resize: string;
3336
- };
3337
- thumb: {
3338
- h: number;
3339
- w: number;
3340
- resize: string;
3341
- };
3342
- };
3343
- original_info: {
3344
- height: number;
3345
- width: number;
3346
- focus_rects: {
3347
- x: number;
3348
- y: number;
3349
- w: number;
3350
- h: number;
3351
- }[];
2884
+ media_count: number;
2885
+ name: string;
2886
+ normal_followers_count: number;
2887
+ pinned_tweet_ids_str: unknown[];
2888
+ possibly_sensitive: boolean;
2889
+ profile_banner_url: string;
2890
+ profile_image_url_https: string;
2891
+ profile_interstitial_type: string;
2892
+ screen_name: string;
2893
+ statuses_count: number;
2894
+ translator_type: string;
2895
+ url: string;
2896
+ verified: boolean;
2897
+ want_retweets: boolean;
2898
+ withheld_in_countries: unknown[];
3352
2899
  };
3353
- }[];
3354
- };
3355
- favorite_count: number;
3356
- favorited: boolean;
3357
- full_text: string;
3358
- is_quote_status: boolean;
3359
- lang: string;
3360
- limited_actions: string;
3361
- possibly_sensitive: boolean;
3362
- possibly_sensitive_editable: boolean;
3363
- quote_count: number;
3364
- reply_count: number;
3365
- retweet_count: number;
3366
- retweeted: boolean;
3367
- user_id_str: string;
3368
- id_str: string;
2900
+ };
2901
+ }[];
3369
2902
  };
3370
2903
  };
3371
- limitedActionResults?: {
3372
- limited_actions: {
3373
- action: string;
3374
- prompt: {
3375
- __typename: string;
3376
- cta_type: string;
3377
- headline: {
3378
- text: string;
3379
- entities: unknown[];
3380
- };
3381
- subtext: {
3382
- text: string;
3383
- entities: unknown[];
3384
- };
3385
- };
3386
- }[];
2904
+ unified_card?: {
2905
+ card_fetch_state: string;
3387
2906
  };
3388
- quotedRefResult?: {
3389
- result: {
3390
- __typename: string;
3391
- rest_id: string;
2907
+ };
2908
+ };
2909
+ birdwatch_pivot?: {
2910
+ callToAction: {
2911
+ prompt: string;
2912
+ title: string;
2913
+ destinationUrl: string;
2914
+ };
2915
+ destinationUrl: string;
2916
+ footer: {
2917
+ text: string;
2918
+ entities: {
2919
+ fromIndex: number;
2920
+ toIndex: number;
2921
+ ref: {
2922
+ type: string;
2923
+ url: string;
2924
+ urlType: string;
3392
2925
  };
3393
- };
2926
+ }[];
2927
+ };
2928
+ note: {
2929
+ rest_id: string;
2930
+ };
2931
+ subtitle: {
2932
+ text: string;
2933
+ entities: {
2934
+ fromIndex: number;
2935
+ toIndex: number;
2936
+ ref: {
2937
+ type: string;
2938
+ url: string;
2939
+ urlType: string;
2940
+ };
2941
+ }[];
3394
2942
  };
2943
+ title: string;
2944
+ shorttitle: string;
2945
+ iconType: string;
3395
2946
  };
3396
2947
  note_tweet?: {
3397
2948
  is_expandable: boolean;
@@ -3419,7 +2970,11 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3419
2970
  symbols: unknown[];
3420
2971
  };
3421
2972
  richtext?: {
3422
- richtext_tags: unknown[];
2973
+ richtext_tags: {
2974
+ from_index: number;
2975
+ to_index: number;
2976
+ richtext_types: string[];
2977
+ }[];
3423
2978
  };
3424
2979
  media?: {
3425
2980
  inline_media: unknown[];
@@ -3434,47 +2989,9 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3434
2989
  reply_count: number;
3435
2990
  retweet_count: number;
3436
2991
  };
3437
- birdwatch_pivot?: {
3438
- callToAction: {
3439
- prompt: string;
3440
- title: string;
3441
- destinationUrl: string;
3442
- };
3443
- destinationUrl: string;
3444
- footer: {
3445
- text: string;
3446
- entities: {
3447
- fromIndex: number;
3448
- toIndex: number;
3449
- ref: {
3450
- type: string;
3451
- url: string;
3452
- urlType: string;
3453
- };
3454
- }[];
3455
- };
3456
- note: {
3457
- rest_id: string;
3458
- };
3459
- subtitle: {
3460
- text: string;
3461
- entities: {
3462
- fromIndex: number;
3463
- toIndex: number;
3464
- ref: {
3465
- type: string;
3466
- url: string;
3467
- urlType: string;
3468
- };
3469
- }[];
3470
- };
3471
- title: string;
3472
- shorttitle: string;
3473
- iconType: string;
3474
- };
3475
2992
  };
3476
2993
  };
3477
- tweetDisplayType: string;
2994
+ tweetDisplayType?: string;
3478
2995
  promotedMetadata?: {
3479
2996
  advertiser_results: {
3480
2997
  result: {
@@ -3516,8 +3033,8 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3516
3033
  };
3517
3034
  url?: {
3518
3035
  urls: {
3519
- display_url: string;
3520
- expanded_url: string;
3036
+ display_url?: string;
3037
+ expanded_url?: string;
3521
3038
  url: string;
3522
3039
  indices: number[];
3523
3040
  }[];
@@ -3542,11 +3059,11 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3542
3059
  screen_name: string;
3543
3060
  statuses_count: number;
3544
3061
  translator_type: string;
3062
+ url?: string;
3545
3063
  verified: boolean;
3546
3064
  verified_type?: string;
3547
3065
  want_retweets: boolean;
3548
3066
  withheld_in_countries: unknown[];
3549
- url?: string;
3550
3067
  };
3551
3068
  professional?: {
3552
3069
  rest_id: string;
@@ -3557,6 +3074,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3557
3074
  icon_name: string;
3558
3075
  }[];
3559
3076
  };
3077
+ super_follow_eligible?: boolean;
3560
3078
  };
3561
3079
  };
3562
3080
  disclosureType: string;
@@ -3574,13 +3092,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3574
3092
  urlOverride?: string;
3575
3093
  urlOverrideType?: string;
3576
3094
  };
3577
- promotedTrendName?: string;
3578
- promotedTrendQueryTerm?: string;
3579
- promotedTrend?: {
3580
- rest_id: string;
3581
- };
3582
3095
  adMetadataContainer?: {
3583
- remove_promoted_attribution_for_preroll?: boolean;
3584
3096
  dynamicCardContent?: {
3585
3097
  card_type: string;
3586
3098
  layout: {
@@ -3674,6 +3186,13 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3674
3186
  display_options: {};
3675
3187
  card_fetch_state: string;
3676
3188
  };
3189
+ remove_promoted_attribution_for_preroll?: boolean;
3190
+ unifiedCardOverride?: string;
3191
+ };
3192
+ promotedTrendName?: string;
3193
+ promotedTrendQueryTerm?: string;
3194
+ promotedTrend?: {
3195
+ rest_id: string;
3677
3196
  };
3678
3197
  };
3679
3198
  prerollMetadata?: {
@@ -3744,61 +3263,169 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3744
3263
  location: string;
3745
3264
  media_count: number;
3746
3265
  name: string;
3747
- normal_followers_count: number;
3748
- pinned_tweet_ids_str: string[];
3749
- possibly_sensitive: boolean;
3750
- profile_banner_url: string;
3751
- profile_image_url_https: string;
3752
- profile_interstitial_type: string;
3753
- screen_name: string;
3754
- statuses_count: number;
3755
- translator_type: string;
3756
- url?: string;
3757
- verified: boolean;
3758
- verified_type: string;
3759
- want_retweets: boolean;
3760
- withheld_in_countries: unknown[];
3761
- };
3762
- professional?: {
3763
- rest_id: string;
3764
- professional_type: string;
3765
- category: {
3766
- id: number;
3767
- name: string;
3768
- icon_name: string;
3769
- }[];
3770
- };
3266
+ normal_followers_count: number;
3267
+ pinned_tweet_ids_str: unknown[];
3268
+ possibly_sensitive: boolean;
3269
+ profile_banner_url: string;
3270
+ profile_image_url_https: string;
3271
+ profile_interstitial_type: string;
3272
+ screen_name: string;
3273
+ statuses_count: number;
3274
+ translator_type: string;
3275
+ url?: string;
3276
+ verified: boolean;
3277
+ verified_type: string;
3278
+ want_retweets: boolean;
3279
+ withheld_in_countries: unknown[];
3280
+ };
3281
+ professional?: {
3282
+ rest_id: string;
3283
+ professional_type: string;
3284
+ category: {
3285
+ id: number;
3286
+ name: string;
3287
+ icon_name: string;
3288
+ }[];
3289
+ };
3290
+ };
3291
+ };
3292
+ renderAdByAdvertiserName: boolean;
3293
+ uuid: string;
3294
+ videoVariants: {
3295
+ bitrate?: number;
3296
+ contentType: string;
3297
+ url: string;
3298
+ }[];
3299
+ };
3300
+ prerollId: string;
3301
+ };
3302
+ };
3303
+ content?: {
3304
+ contentType: string;
3305
+ headerText: string;
3306
+ bodyText: string;
3307
+ primaryButtonAction: {
3308
+ text: string;
3309
+ action: {
3310
+ url: string;
3311
+ dismissOnClick: boolean;
3312
+ onClickCallbacks: {
3313
+ endpoint: string;
3314
+ }[];
3315
+ clientEventInfo: {
3316
+ action: string;
3317
+ };
3318
+ };
3319
+ };
3320
+ headerRichText: {
3321
+ text: string;
3322
+ entities: unknown[];
3323
+ };
3324
+ bodyRichText: {
3325
+ text: string;
3326
+ entities: unknown[];
3327
+ };
3328
+ };
3329
+ impressionCallbacks?: {
3330
+ endpoint: string;
3331
+ }[];
3332
+ };
3333
+ clientEventInfo?: {
3334
+ component: string;
3335
+ element?: string;
3336
+ details: {
3337
+ timelinesDetails: {
3338
+ injectionType?: string;
3339
+ controllerData?: string;
3340
+ sourceData?: string;
3341
+ };
3342
+ };
3343
+ };
3344
+ value?: string;
3345
+ cursorType?: string;
3346
+ items?: {
3347
+ entryId: string;
3348
+ item: {
3349
+ itemContent: {
3350
+ itemType: string;
3351
+ __typename: string;
3352
+ user_results?: {
3353
+ result: {
3354
+ __typename: string;
3355
+ id: string;
3356
+ rest_id: string;
3357
+ affiliates_highlighted_label: {};
3358
+ has_graduated_access: boolean;
3359
+ is_blue_verified: boolean;
3360
+ profile_image_shape: string;
3361
+ legacy: {
3362
+ can_dm: boolean;
3363
+ can_media_tag: boolean;
3364
+ created_at: string;
3365
+ default_profile: boolean;
3366
+ default_profile_image: boolean;
3367
+ description: string;
3368
+ entities: {
3369
+ description: {
3370
+ urls: {
3371
+ display_url: string;
3372
+ expanded_url: string;
3373
+ url: string;
3374
+ indices: number[];
3375
+ }[];
3376
+ };
3377
+ url?: {
3378
+ urls: {
3379
+ display_url: string;
3380
+ expanded_url: string;
3381
+ url: string;
3382
+ indices: number[];
3383
+ }[];
3384
+ };
3385
+ };
3386
+ fast_followers_count: number;
3387
+ favourites_count: number;
3388
+ followers_count: number;
3389
+ friends_count: number;
3390
+ has_custom_timelines: boolean;
3391
+ is_translator: boolean;
3392
+ listed_count: number;
3393
+ location: string;
3394
+ media_count: number;
3395
+ name: string;
3396
+ normal_followers_count: number;
3397
+ pinned_tweet_ids_str: string[];
3398
+ possibly_sensitive: boolean;
3399
+ profile_image_url_https: string;
3400
+ profile_interstitial_type: string;
3401
+ screen_name: string;
3402
+ statuses_count: number;
3403
+ translator_type: string;
3404
+ url?: string;
3405
+ verified: boolean;
3406
+ want_retweets: boolean;
3407
+ withheld_in_countries: unknown[];
3408
+ followed_by?: boolean;
3409
+ profile_banner_url?: string;
3410
+ verified_type?: string;
3411
+ };
3412
+ professional?: {
3413
+ rest_id: string;
3414
+ professional_type: string;
3415
+ category: {
3416
+ id: number;
3417
+ name: string;
3418
+ icon_name: string;
3419
+ }[];
3771
3420
  };
3772
3421
  };
3773
- renderAdByAdvertiserName: boolean;
3774
- uuid: string;
3775
- videoVariants: {
3776
- bitrate?: number;
3777
- contentType: string;
3778
- url: string;
3779
- }[];
3780
3422
  };
3781
- prerollId: string;
3782
- };
3783
- };
3784
- };
3785
- clientEventInfo?: {
3786
- component: string;
3787
- element?: string;
3788
- details: {
3789
- timelinesDetails: {
3790
- injectionType?: string;
3791
- controllerData: string;
3792
- sourceData?: string;
3793
- };
3794
- };
3795
- };
3796
- items?: {
3797
- entryId: string;
3798
- item: {
3799
- itemContent: {
3800
- itemType: string;
3801
- __typename: string;
3423
+ userDisplayType?: string;
3424
+ socialContext?: {
3425
+ type: string;
3426
+ contextType: string;
3427
+ text: string;
3428
+ };
3802
3429
  tweet_results?: {
3803
3430
  result: {
3804
3431
  __typename: string;
@@ -3860,18 +3487,10 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3860
3487
  translator_type: string;
3861
3488
  url: string;
3862
3489
  verified: boolean;
3863
- verified_type: string;
3490
+ verified_type?: string;
3864
3491
  want_retweets: boolean;
3865
3492
  withheld_in_countries: unknown[];
3866
- };
3867
- professional?: {
3868
- rest_id: string;
3869
- professional_type: string;
3870
- category: {
3871
- id: number;
3872
- name: string;
3873
- icon_name: string;
3874
- }[];
3493
+ followed_by?: boolean;
3875
3494
  };
3876
3495
  };
3877
3496
  };
@@ -3882,39 +3501,12 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3882
3501
  is_edit_eligible: boolean;
3883
3502
  edits_remaining: string;
3884
3503
  };
3885
- edit_perspective: {
3886
- favorited: boolean;
3887
- retweeted: boolean;
3888
- };
3889
3504
  is_translatable: boolean;
3890
3505
  views: {
3891
3506
  count: string;
3892
3507
  state: string;
3893
3508
  };
3894
3509
  source: string;
3895
- note_tweet?: {
3896
- is_expandable: boolean;
3897
- note_tweet_results: {
3898
- result: {
3899
- id: string;
3900
- text: string;
3901
- entity_set: {
3902
- user_mentions: unknown[];
3903
- urls: {
3904
- display_url: string;
3905
- expanded_url: string;
3906
- url: string;
3907
- indices: number[];
3908
- }[];
3909
- hashtags: {
3910
- indices: number[];
3911
- text: string;
3912
- }[];
3913
- symbols: unknown[];
3914
- };
3915
- };
3916
- };
3917
- };
3918
3510
  legacy: {
3919
3511
  bookmark_count: number;
3920
3512
  bookmarked: boolean;
@@ -3922,13 +3514,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3922
3514
  conversation_id_str: string;
3923
3515
  display_text_range: number[];
3924
3516
  entities: {
3925
- user_mentions: unknown[];
3926
- urls: unknown[];
3927
- hashtags: {
3928
- indices: number[];
3929
- text: string;
3930
- }[];
3931
- symbols: unknown[];
3932
3517
  media?: {
3933
3518
  display_url: string;
3934
3519
  expanded_url: string;
@@ -3938,7 +3523,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3938
3523
  type: string;
3939
3524
  url: string;
3940
3525
  features: {
3941
- large: {
3526
+ large?: {
3942
3527
  faces: {
3943
3528
  x: number;
3944
3529
  y: number;
@@ -3946,7 +3531,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3946
3531
  w: number;
3947
3532
  }[];
3948
3533
  };
3949
- medium: {
3534
+ medium?: {
3950
3535
  faces: {
3951
3536
  x: number;
3952
3537
  y: number;
@@ -3954,7 +3539,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3954
3539
  w: number;
3955
3540
  }[];
3956
3541
  };
3957
- small: {
3542
+ small?: {
3958
3543
  faces: {
3959
3544
  x: number;
3960
3545
  y: number;
@@ -3962,7 +3547,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3962
3547
  w: number;
3963
3548
  }[];
3964
3549
  };
3965
- orig: {
3550
+ orig?: {
3966
3551
  faces: {
3967
3552
  x: number;
3968
3553
  y: number;
@@ -3996,7 +3581,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
3996
3581
  original_info: {
3997
3582
  height: number;
3998
3583
  width: number;
3999
- focus_rects: {
3584
+ focus_rects?: {
4000
3585
  x: number;
4001
3586
  y: number;
4002
3587
  w: number;
@@ -4004,21 +3589,24 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4004
3589
  }[];
4005
3590
  };
4006
3591
  }[];
3592
+ user_mentions: {
3593
+ id_str: string;
3594
+ name: string;
3595
+ screen_name: string;
3596
+ indices: number[];
3597
+ }[];
3598
+ urls: {
3599
+ display_url: string;
3600
+ expanded_url: string;
3601
+ url: string;
3602
+ indices: number[];
3603
+ }[];
3604
+ hashtags: {
3605
+ indices: number[];
3606
+ text: string;
3607
+ }[];
3608
+ symbols: unknown[];
4007
3609
  };
4008
- favorite_count: number;
4009
- favorited: boolean;
4010
- full_text: string;
4011
- is_quote_status: boolean;
4012
- lang: string;
4013
- quote_count: number;
4014
- reply_count: number;
4015
- retweet_count: number;
4016
- retweeted: boolean;
4017
- user_id_str: string;
4018
- id_str: string;
4019
- in_reply_to_screen_name?: string;
4020
- in_reply_to_status_id_str?: string;
4021
- in_reply_to_user_id_str?: string;
4022
3610
  extended_entities?: {
4023
3611
  media: {
4024
3612
  display_url: string;
@@ -4033,7 +3621,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4033
3621
  status: string;
4034
3622
  };
4035
3623
  features: {
4036
- large: {
3624
+ large?: {
4037
3625
  faces: {
4038
3626
  x: number;
4039
3627
  y: number;
@@ -4041,7 +3629,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4041
3629
  w: number;
4042
3630
  }[];
4043
3631
  };
4044
- medium: {
3632
+ medium?: {
4045
3633
  faces: {
4046
3634
  x: number;
4047
3635
  y: number;
@@ -4049,7 +3637,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4049
3637
  w: number;
4050
3638
  }[];
4051
3639
  };
4052
- small: {
3640
+ small?: {
4053
3641
  faces: {
4054
3642
  x: number;
4055
3643
  y: number;
@@ -4057,7 +3645,7 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4057
3645
  w: number;
4058
3646
  }[];
4059
3647
  };
4060
- orig: {
3648
+ orig?: {
4061
3649
  faces: {
4062
3650
  x: number;
4063
3651
  y: number;
@@ -4091,98 +3679,44 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4091
3679
  original_info: {
4092
3680
  height: number;
4093
3681
  width: number;
4094
- focus_rects: {
3682
+ focus_rects?: {
4095
3683
  x: number;
4096
3684
  y: number;
4097
3685
  w: number;
4098
3686
  h: number;
4099
3687
  }[];
4100
3688
  };
3689
+ ext_alt_text?: string;
3690
+ video_info?: {
3691
+ aspect_ratio: number[];
3692
+ variants: {
3693
+ bitrate: number;
3694
+ content_type: string;
3695
+ url: string;
3696
+ }[];
3697
+ };
4101
3698
  }[];
4102
3699
  };
3700
+ favorite_count: number;
3701
+ favorited: boolean;
3702
+ full_text: string;
3703
+ is_quote_status: boolean;
3704
+ lang: string;
4103
3705
  possibly_sensitive?: boolean;
4104
3706
  possibly_sensitive_editable?: boolean;
3707
+ quote_count: number;
3708
+ reply_count: number;
3709
+ retweet_count: number;
3710
+ retweeted: boolean;
3711
+ user_id_str: string;
3712
+ id_str: string;
3713
+ in_reply_to_screen_name?: string;
3714
+ in_reply_to_status_id_str?: string;
3715
+ in_reply_to_user_id_str?: string;
4105
3716
  };
4106
3717
  };
4107
3718
  };
4108
3719
  tweetDisplayType?: string;
4109
- user_results?: {
4110
- result: {
4111
- __typename: string;
4112
- id: string;
4113
- rest_id: string;
4114
- affiliates_highlighted_label: {};
4115
- has_graduated_access: boolean;
4116
- is_blue_verified: boolean;
4117
- profile_image_shape: string;
4118
- legacy: {
4119
- can_dm: boolean;
4120
- can_media_tag: boolean;
4121
- created_at: string;
4122
- default_profile: boolean;
4123
- default_profile_image: boolean;
4124
- description: string;
4125
- entities: {
4126
- description: {
4127
- urls: {
4128
- display_url: string;
4129
- expanded_url: string;
4130
- url: string;
4131
- indices: number[];
4132
- }[];
4133
- };
4134
- url?: {
4135
- urls: {
4136
- display_url: string;
4137
- expanded_url: string;
4138
- url: string;
4139
- indices: number[];
4140
- }[];
4141
- };
4142
- };
4143
- fast_followers_count: number;
4144
- favourites_count: number;
4145
- followers_count: number;
4146
- friends_count: number;
4147
- has_custom_timelines: boolean;
4148
- is_translator: boolean;
4149
- listed_count: number;
4150
- location: string;
4151
- media_count: number;
4152
- name: string;
4153
- normal_followers_count: number;
4154
- pinned_tweet_ids_str: string[];
4155
- possibly_sensitive: boolean;
4156
- profile_image_url_https: string;
4157
- profile_interstitial_type: string;
4158
- screen_name: string;
4159
- statuses_count: number;
4160
- translator_type: string;
4161
- url?: string;
4162
- verified: boolean;
4163
- want_retweets: boolean;
4164
- withheld_in_countries: unknown[];
4165
- followed_by?: boolean;
4166
- profile_banner_url?: string;
4167
- verified_type?: string;
4168
- };
4169
- professional?: {
4170
- rest_id: string;
4171
- professional_type: string;
4172
- category: {
4173
- id: number;
4174
- name: string;
4175
- icon_name: string;
4176
- }[];
4177
- };
4178
- };
4179
- };
4180
- userDisplayType?: string;
4181
- socialContext?: {
4182
- type: string;
4183
- contextType: string;
4184
- text: string;
4185
- };
4186
3720
  };
4187
3721
  clientEventInfo: {
4188
3722
  component: string;
@@ -4197,12 +3731,6 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4197
3731
  };
4198
3732
  };
4199
3733
  }[];
4200
- metadata?: {
4201
- conversationMetadata: {
4202
- allTweetIds: string[];
4203
- enableDeduplication: boolean;
4204
- };
4205
- };
4206
3734
  displayType?: string;
4207
3735
  header?: {
4208
3736
  displayType: string;
@@ -4220,6 +3748,12 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4220
3748
  feedbackInfo?: {
4221
3749
  feedbackKeys: string[];
4222
3750
  };
3751
+ metadata?: {
3752
+ conversationMetadata: {
3753
+ allTweetIds: string[];
3754
+ enableDeduplication: boolean;
3755
+ };
3756
+ };
4223
3757
  };
4224
3758
  }[];
4225
3759
  alertType?: string;
@@ -4252,10 +3786,11 @@ export interface GraphQLPostHomeLatestTimelineSuccessResponse {
4252
3786
  value: {
4253
3787
  feedbackType: string;
4254
3788
  prompt: string;
4255
- confirmation: string;
4256
- encodedFeedbackRequest: string;
3789
+ confirmation?: string;
3790
+ encodedFeedbackRequest?: string;
4257
3791
  hasUndoAction: boolean;
4258
- icon: string;
3792
+ icon?: string;
3793
+ feedbackUrl?: string;
4259
3794
  };
4260
3795
  }[];
4261
3796
  };