@book000/twitterts 0.33.0 → 0.35.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.
- package/dist/generate-types/custom-types-generator.d.ts.map +1 -1
- package/dist/generate-types/custom-types-generator.js +69 -13
- package/dist/generate-types/custom-types-generator.js.map +1 -1
- package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts +809 -231
- package/dist/models/responses/custom/custom-timeline-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts +76 -3
- package/dist/models/responses/custom/custom-tweet-legacy-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-tweet-object.d.ts +249 -129
- package/dist/models/responses/custom/custom-tweet-object.d.ts.map +1 -1
- package/dist/models/responses/custom/custom-user-tweet-entry.d.ts +223 -8
- package/dist/models/responses/custom/custom-user-tweet-entry.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts +41 -4
- package/dist/models/responses/graphql/get/home-latest-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts +82 -7
- package/dist/models/responses/graphql/get/home-timeline-success.d.ts.map +1 -1
- package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts +17 -2
- package/dist/models/responses/graphql/post/home-latest-timeline-success.d.ts.map +1 -1
- package/dist/options.d.ts +8 -0
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js.map +1 -1
- package/dist/parser/home-timeline-parser.d.ts +1 -1
- package/dist/parser/home-timeline-parser.d.ts.map +1 -1
- package/dist/parser/home-timeline-parser.js +12 -3
- package/dist/parser/home-timeline-parser.js.map +1 -1
- package/dist/parser/parser.test.js +5 -5
- package/dist/parser/parser.test.js.map +1 -1
- package/dist/parser/search-timeline.d.ts +1 -1
- package/dist/parser/search-timeline.d.ts.map +1 -1
- package/dist/parser/search-timeline.js +12 -3
- package/dist/parser/search-timeline.js.map +1 -1
- package/dist/parser/user-like-tweets.d.ts +1 -1
- package/dist/parser/user-like-tweets.d.ts.map +1 -1
- package/dist/parser/user-like-tweets.js +6 -2
- package/dist/parser/user-like-tweets.js.map +1 -1
- package/dist/parser/user-tweets.d.ts +1 -1
- package/dist/parser/user-tweets.d.ts.map +1 -1
- package/dist/parser/user-tweets.js +6 -2
- package/dist/parser/user-tweets.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/twitter.d.ts.map +1 -1
- package/dist/twitter.js +8 -4
- package/dist/twitter.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export interface CustomTweetObject {
|
|
|
10
10
|
rest_id: string;
|
|
11
11
|
affiliates_highlighted_label: {
|
|
12
12
|
label?: {
|
|
13
|
-
url
|
|
13
|
+
url?: {
|
|
14
14
|
url: string;
|
|
15
15
|
urlType: string;
|
|
16
16
|
};
|
|
@@ -19,7 +19,24 @@ export interface CustomTweetObject {
|
|
|
19
19
|
};
|
|
20
20
|
description: string;
|
|
21
21
|
userLabelType: string;
|
|
22
|
-
userLabelDisplayType
|
|
22
|
+
userLabelDisplayType?: string;
|
|
23
|
+
longDescription?: {
|
|
24
|
+
text: string;
|
|
25
|
+
entities: {
|
|
26
|
+
fromIndex: number;
|
|
27
|
+
toIndex: number;
|
|
28
|
+
ref: {
|
|
29
|
+
type: string;
|
|
30
|
+
screen_name: string;
|
|
31
|
+
mention_results: {
|
|
32
|
+
result: {
|
|
33
|
+
__typename: string;
|
|
34
|
+
reason: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}[];
|
|
39
|
+
};
|
|
23
40
|
};
|
|
24
41
|
};
|
|
25
42
|
has_graduated_access: boolean;
|
|
@@ -43,8 +60,8 @@ export interface CustomTweetObject {
|
|
|
43
60
|
};
|
|
44
61
|
url?: {
|
|
45
62
|
urls: {
|
|
46
|
-
display_url
|
|
47
|
-
expanded_url
|
|
63
|
+
display_url?: string;
|
|
64
|
+
expanded_url?: string;
|
|
48
65
|
url: string;
|
|
49
66
|
indices: number[];
|
|
50
67
|
}[];
|
|
@@ -74,8 +91,8 @@ export interface CustomTweetObject {
|
|
|
74
91
|
want_retweets: boolean;
|
|
75
92
|
withheld_in_countries: string[];
|
|
76
93
|
following?: boolean;
|
|
77
|
-
followed_by?: boolean;
|
|
78
94
|
verified_type?: string;
|
|
95
|
+
followed_by?: boolean;
|
|
79
96
|
needs_phone_verification?: boolean;
|
|
80
97
|
blocking?: boolean;
|
|
81
98
|
};
|
|
@@ -327,7 +344,10 @@ export interface CustomTweetObject {
|
|
|
327
344
|
title?: string;
|
|
328
345
|
description?: string;
|
|
329
346
|
call_to_actions?: {
|
|
330
|
-
|
|
347
|
+
visit_site?: {
|
|
348
|
+
url: string;
|
|
349
|
+
};
|
|
350
|
+
watch_now?: {
|
|
331
351
|
url: string;
|
|
332
352
|
};
|
|
333
353
|
};
|
|
@@ -569,7 +589,7 @@ export interface CustomTweetObject {
|
|
|
569
589
|
};
|
|
570
590
|
is_translatable: boolean;
|
|
571
591
|
views: {
|
|
572
|
-
count
|
|
592
|
+
count?: string;
|
|
573
593
|
state: string;
|
|
574
594
|
};
|
|
575
595
|
source: string;
|
|
@@ -828,6 +848,7 @@ export interface CustomTweetObject {
|
|
|
828
848
|
verified: boolean;
|
|
829
849
|
want_retweets: boolean;
|
|
830
850
|
withheld_in_countries: unknown[];
|
|
851
|
+
verified_type?: string;
|
|
831
852
|
};
|
|
832
853
|
professional?: {
|
|
833
854
|
rest_id: string;
|
|
@@ -887,6 +908,9 @@ export interface CustomTweetObject {
|
|
|
887
908
|
expanded: string;
|
|
888
909
|
display: string;
|
|
889
910
|
};
|
|
911
|
+
scopes?: {
|
|
912
|
+
followers: boolean;
|
|
913
|
+
};
|
|
890
914
|
in_reply_to_screen_name?: string;
|
|
891
915
|
in_reply_to_status_id_str?: string;
|
|
892
916
|
in_reply_to_user_id_str?: string;
|
|
@@ -1912,15 +1936,15 @@ export interface CustomTweetObject {
|
|
|
1912
1936
|
};
|
|
1913
1937
|
};
|
|
1914
1938
|
};
|
|
1939
|
+
scopes?: {
|
|
1940
|
+
followers: boolean;
|
|
1941
|
+
};
|
|
1915
1942
|
quoted_status_id_str?: string;
|
|
1916
1943
|
quoted_status_permalink?: {
|
|
1917
1944
|
url: string;
|
|
1918
1945
|
expanded: string;
|
|
1919
1946
|
display: string;
|
|
1920
1947
|
};
|
|
1921
|
-
in_reply_to_screen_name?: string;
|
|
1922
|
-
in_reply_to_status_id_str?: string;
|
|
1923
|
-
in_reply_to_user_id_str?: string;
|
|
1924
1948
|
place?: {
|
|
1925
1949
|
attributes: {};
|
|
1926
1950
|
bounding_box: {
|
|
@@ -1936,6 +1960,9 @@ export interface CustomTweetObject {
|
|
|
1936
1960
|
place_type: string;
|
|
1937
1961
|
url: string;
|
|
1938
1962
|
};
|
|
1963
|
+
in_reply_to_screen_name?: string;
|
|
1964
|
+
in_reply_to_status_id_str?: string;
|
|
1965
|
+
in_reply_to_user_id_str?: string;
|
|
1939
1966
|
coordinates?: {
|
|
1940
1967
|
type: string;
|
|
1941
1968
|
coordinates: number[];
|
|
@@ -1945,21 +1972,22 @@ export interface CustomTweetObject {
|
|
|
1945
1972
|
coordinates: number[];
|
|
1946
1973
|
};
|
|
1947
1974
|
};
|
|
1975
|
+
__entryId: string;
|
|
1948
1976
|
card?: {
|
|
1949
1977
|
rest_id: string;
|
|
1950
1978
|
legacy: {
|
|
1951
1979
|
binding_values: {
|
|
1952
1980
|
key: string;
|
|
1953
1981
|
value: {
|
|
1982
|
+
string_value?: string;
|
|
1983
|
+
type: string;
|
|
1984
|
+
scribe_key?: string;
|
|
1954
1985
|
image_value?: {
|
|
1955
1986
|
height: number;
|
|
1956
1987
|
width: number;
|
|
1957
1988
|
url: string;
|
|
1958
1989
|
alt?: string;
|
|
1959
1990
|
};
|
|
1960
|
-
type: string;
|
|
1961
|
-
string_value?: string;
|
|
1962
|
-
scribe_key?: string;
|
|
1963
1991
|
user_value?: {
|
|
1964
1992
|
id_str: string;
|
|
1965
1993
|
path: unknown[];
|
|
@@ -2855,17 +2883,6 @@ export interface CustomTweetObject {
|
|
|
2855
2883
|
};
|
|
2856
2884
|
};
|
|
2857
2885
|
};
|
|
2858
|
-
previous_counts?: {
|
|
2859
|
-
bookmark_count: number;
|
|
2860
|
-
favorite_count: number;
|
|
2861
|
-
quote_count: number;
|
|
2862
|
-
reply_count: number;
|
|
2863
|
-
retweet_count: number;
|
|
2864
|
-
};
|
|
2865
|
-
edit_perspective?: {
|
|
2866
|
-
favorited: boolean;
|
|
2867
|
-
retweeted: boolean;
|
|
2868
|
-
};
|
|
2869
2886
|
tweet?: {
|
|
2870
2887
|
rest_id: string;
|
|
2871
2888
|
core: {
|
|
@@ -2892,8 +2909,6 @@ export interface CustomTweetObject {
|
|
|
2892
2909
|
is_blue_verified: boolean;
|
|
2893
2910
|
profile_image_shape: string;
|
|
2894
2911
|
legacy: {
|
|
2895
|
-
followed_by?: boolean;
|
|
2896
|
-
following?: boolean;
|
|
2897
2912
|
can_dm: boolean;
|
|
2898
2913
|
can_media_tag: boolean;
|
|
2899
2914
|
created_at: string;
|
|
@@ -2937,10 +2952,13 @@ export interface CustomTweetObject {
|
|
|
2937
2952
|
screen_name: string;
|
|
2938
2953
|
statuses_count: number;
|
|
2939
2954
|
translator_type: string;
|
|
2955
|
+
url?: string;
|
|
2940
2956
|
verified: boolean;
|
|
2957
|
+
verified_type?: string;
|
|
2941
2958
|
want_retweets: boolean;
|
|
2942
2959
|
withheld_in_countries: unknown[];
|
|
2943
|
-
|
|
2960
|
+
followed_by?: boolean;
|
|
2961
|
+
following?: boolean;
|
|
2944
2962
|
};
|
|
2945
2963
|
professional?: {
|
|
2946
2964
|
rest_id: string;
|
|
@@ -2955,20 +2973,46 @@ export interface CustomTweetObject {
|
|
|
2955
2973
|
};
|
|
2956
2974
|
};
|
|
2957
2975
|
};
|
|
2976
|
+
card?: {
|
|
2977
|
+
rest_id: string;
|
|
2978
|
+
legacy: {
|
|
2979
|
+
binding_values: {
|
|
2980
|
+
key: string;
|
|
2981
|
+
value: {
|
|
2982
|
+
string_value: string;
|
|
2983
|
+
type: string;
|
|
2984
|
+
scribe_key?: string;
|
|
2985
|
+
};
|
|
2986
|
+
}[];
|
|
2987
|
+
card_platform: {
|
|
2988
|
+
platform: {
|
|
2989
|
+
audience: {
|
|
2990
|
+
name: string;
|
|
2991
|
+
};
|
|
2992
|
+
device: {
|
|
2993
|
+
name: string;
|
|
2994
|
+
version: string;
|
|
2995
|
+
};
|
|
2996
|
+
};
|
|
2997
|
+
};
|
|
2998
|
+
name: string;
|
|
2999
|
+
url: string;
|
|
3000
|
+
user_refs_results: unknown[];
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
3003
|
+
unified_card?: {
|
|
3004
|
+
card_fetch_state: string;
|
|
3005
|
+
};
|
|
2958
3006
|
edit_control: {
|
|
2959
3007
|
edit_tweet_ids: string[];
|
|
2960
3008
|
editable_until_msecs: string;
|
|
2961
3009
|
is_edit_eligible: boolean;
|
|
2962
3010
|
edits_remaining: string;
|
|
2963
3011
|
};
|
|
2964
|
-
edit_perspective?: {
|
|
2965
|
-
favorited: boolean;
|
|
2966
|
-
retweeted: boolean;
|
|
2967
|
-
};
|
|
2968
3012
|
is_translatable: boolean;
|
|
2969
3013
|
views: {
|
|
2970
|
-
state: string;
|
|
2971
3014
|
count?: string;
|
|
3015
|
+
state: string;
|
|
2972
3016
|
};
|
|
2973
3017
|
source: string;
|
|
2974
3018
|
legacy: {
|
|
@@ -3015,7 +3059,7 @@ export interface CustomTweetObject {
|
|
|
3015
3059
|
type: string;
|
|
3016
3060
|
url: string;
|
|
3017
3061
|
features: {
|
|
3018
|
-
large
|
|
3062
|
+
large?: {
|
|
3019
3063
|
faces: {
|
|
3020
3064
|
x: number;
|
|
3021
3065
|
y: number;
|
|
@@ -3023,7 +3067,7 @@ export interface CustomTweetObject {
|
|
|
3023
3067
|
w: number;
|
|
3024
3068
|
}[];
|
|
3025
3069
|
};
|
|
3026
|
-
medium
|
|
3070
|
+
medium?: {
|
|
3027
3071
|
faces: {
|
|
3028
3072
|
x: number;
|
|
3029
3073
|
y: number;
|
|
@@ -3031,7 +3075,7 @@ export interface CustomTweetObject {
|
|
|
3031
3075
|
w: number;
|
|
3032
3076
|
}[];
|
|
3033
3077
|
};
|
|
3034
|
-
small
|
|
3078
|
+
small?: {
|
|
3035
3079
|
faces: {
|
|
3036
3080
|
x: number;
|
|
3037
3081
|
y: number;
|
|
@@ -3039,7 +3083,7 @@ export interface CustomTweetObject {
|
|
|
3039
3083
|
w: number;
|
|
3040
3084
|
}[];
|
|
3041
3085
|
};
|
|
3042
|
-
orig
|
|
3086
|
+
orig?: {
|
|
3043
3087
|
faces: {
|
|
3044
3088
|
x: number;
|
|
3045
3089
|
y: number;
|
|
@@ -3081,7 +3125,7 @@ export interface CustomTweetObject {
|
|
|
3081
3125
|
original_info: {
|
|
3082
3126
|
height: number;
|
|
3083
3127
|
width: number;
|
|
3084
|
-
focus_rects
|
|
3128
|
+
focus_rects?: {
|
|
3085
3129
|
x: number;
|
|
3086
3130
|
y: number;
|
|
3087
3131
|
w: number;
|
|
@@ -3102,8 +3146,115 @@ export interface CustomTweetObject {
|
|
|
3102
3146
|
reply_count: number;
|
|
3103
3147
|
retweet_count: number;
|
|
3104
3148
|
retweeted: boolean;
|
|
3149
|
+
scopes?: {
|
|
3150
|
+
followers: boolean;
|
|
3151
|
+
};
|
|
3105
3152
|
user_id_str: string;
|
|
3106
3153
|
id_str: string;
|
|
3154
|
+
extended_entities?: {
|
|
3155
|
+
media: {
|
|
3156
|
+
display_url: string;
|
|
3157
|
+
expanded_url: string;
|
|
3158
|
+
id_str: string;
|
|
3159
|
+
indices: number[];
|
|
3160
|
+
media_key: string;
|
|
3161
|
+
media_url_https: string;
|
|
3162
|
+
type: string;
|
|
3163
|
+
url: string;
|
|
3164
|
+
additional_media_info?: {
|
|
3165
|
+
monetizable: boolean;
|
|
3166
|
+
};
|
|
3167
|
+
mediaStats?: {
|
|
3168
|
+
viewCount: number;
|
|
3169
|
+
};
|
|
3170
|
+
ext_media_availability: {
|
|
3171
|
+
status: string;
|
|
3172
|
+
};
|
|
3173
|
+
features: {
|
|
3174
|
+
large?: {
|
|
3175
|
+
faces: {
|
|
3176
|
+
x: number;
|
|
3177
|
+
y: number;
|
|
3178
|
+
h: number;
|
|
3179
|
+
w: number;
|
|
3180
|
+
}[];
|
|
3181
|
+
};
|
|
3182
|
+
medium?: {
|
|
3183
|
+
faces: {
|
|
3184
|
+
x: number;
|
|
3185
|
+
y: number;
|
|
3186
|
+
h: number;
|
|
3187
|
+
w: number;
|
|
3188
|
+
}[];
|
|
3189
|
+
};
|
|
3190
|
+
small?: {
|
|
3191
|
+
faces: {
|
|
3192
|
+
x: number;
|
|
3193
|
+
y: number;
|
|
3194
|
+
h: number;
|
|
3195
|
+
w: number;
|
|
3196
|
+
}[];
|
|
3197
|
+
};
|
|
3198
|
+
orig?: {
|
|
3199
|
+
faces: {
|
|
3200
|
+
x: number;
|
|
3201
|
+
y: number;
|
|
3202
|
+
h: number;
|
|
3203
|
+
w: number;
|
|
3204
|
+
}[];
|
|
3205
|
+
};
|
|
3206
|
+
all?: {
|
|
3207
|
+
tags: {
|
|
3208
|
+
user_id: string;
|
|
3209
|
+
name: string;
|
|
3210
|
+
screen_name: string;
|
|
3211
|
+
type: string;
|
|
3212
|
+
}[];
|
|
3213
|
+
};
|
|
3214
|
+
};
|
|
3215
|
+
sizes: {
|
|
3216
|
+
large: {
|
|
3217
|
+
h: number;
|
|
3218
|
+
w: number;
|
|
3219
|
+
resize: string;
|
|
3220
|
+
};
|
|
3221
|
+
medium: {
|
|
3222
|
+
h: number;
|
|
3223
|
+
w: number;
|
|
3224
|
+
resize: string;
|
|
3225
|
+
};
|
|
3226
|
+
small: {
|
|
3227
|
+
h: number;
|
|
3228
|
+
w: number;
|
|
3229
|
+
resize: string;
|
|
3230
|
+
};
|
|
3231
|
+
thumb: {
|
|
3232
|
+
h: number;
|
|
3233
|
+
w: number;
|
|
3234
|
+
resize: string;
|
|
3235
|
+
};
|
|
3236
|
+
};
|
|
3237
|
+
original_info: {
|
|
3238
|
+
height: number;
|
|
3239
|
+
width: number;
|
|
3240
|
+
focus_rects?: {
|
|
3241
|
+
x: number;
|
|
3242
|
+
y: number;
|
|
3243
|
+
w: number;
|
|
3244
|
+
h: number;
|
|
3245
|
+
}[];
|
|
3246
|
+
};
|
|
3247
|
+
video_info?: {
|
|
3248
|
+
aspect_ratio: number[];
|
|
3249
|
+
duration_millis: number;
|
|
3250
|
+
variants: {
|
|
3251
|
+
content_type: string;
|
|
3252
|
+
url: string;
|
|
3253
|
+
bitrate?: number;
|
|
3254
|
+
}[];
|
|
3255
|
+
};
|
|
3256
|
+
}[];
|
|
3257
|
+
};
|
|
3107
3258
|
retweeted_status_result?: {
|
|
3108
3259
|
result: {
|
|
3109
3260
|
__typename: string;
|
|
@@ -3468,95 +3619,10 @@ export interface CustomTweetObject {
|
|
|
3468
3619
|
};
|
|
3469
3620
|
};
|
|
3470
3621
|
};
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
id_str: string;
|
|
3476
|
-
indices: number[];
|
|
3477
|
-
media_key: string;
|
|
3478
|
-
media_url_https: string;
|
|
3479
|
-
type: string;
|
|
3480
|
-
url: string;
|
|
3481
|
-
ext_media_availability: {
|
|
3482
|
-
status: string;
|
|
3483
|
-
};
|
|
3484
|
-
features: {
|
|
3485
|
-
large: {
|
|
3486
|
-
faces: {
|
|
3487
|
-
x: number;
|
|
3488
|
-
y: number;
|
|
3489
|
-
h: number;
|
|
3490
|
-
w: number;
|
|
3491
|
-
}[];
|
|
3492
|
-
};
|
|
3493
|
-
medium: {
|
|
3494
|
-
faces: {
|
|
3495
|
-
x: number;
|
|
3496
|
-
y: number;
|
|
3497
|
-
h: number;
|
|
3498
|
-
w: number;
|
|
3499
|
-
}[];
|
|
3500
|
-
};
|
|
3501
|
-
small: {
|
|
3502
|
-
faces: {
|
|
3503
|
-
x: number;
|
|
3504
|
-
y: number;
|
|
3505
|
-
h: number;
|
|
3506
|
-
w: number;
|
|
3507
|
-
}[];
|
|
3508
|
-
};
|
|
3509
|
-
orig: {
|
|
3510
|
-
faces: {
|
|
3511
|
-
x: number;
|
|
3512
|
-
y: number;
|
|
3513
|
-
h: number;
|
|
3514
|
-
w: number;
|
|
3515
|
-
}[];
|
|
3516
|
-
};
|
|
3517
|
-
all?: {
|
|
3518
|
-
tags: {
|
|
3519
|
-
user_id: string;
|
|
3520
|
-
name: string;
|
|
3521
|
-
screen_name: string;
|
|
3522
|
-
type: string;
|
|
3523
|
-
}[];
|
|
3524
|
-
};
|
|
3525
|
-
};
|
|
3526
|
-
sizes: {
|
|
3527
|
-
large: {
|
|
3528
|
-
h: number;
|
|
3529
|
-
w: number;
|
|
3530
|
-
resize: string;
|
|
3531
|
-
};
|
|
3532
|
-
medium: {
|
|
3533
|
-
h: number;
|
|
3534
|
-
w: number;
|
|
3535
|
-
resize: string;
|
|
3536
|
-
};
|
|
3537
|
-
small: {
|
|
3538
|
-
h: number;
|
|
3539
|
-
w: number;
|
|
3540
|
-
resize: string;
|
|
3541
|
-
};
|
|
3542
|
-
thumb: {
|
|
3543
|
-
h: number;
|
|
3544
|
-
w: number;
|
|
3545
|
-
resize: string;
|
|
3546
|
-
};
|
|
3547
|
-
};
|
|
3548
|
-
original_info: {
|
|
3549
|
-
height: number;
|
|
3550
|
-
width: number;
|
|
3551
|
-
focus_rects: {
|
|
3552
|
-
x: number;
|
|
3553
|
-
y: number;
|
|
3554
|
-
w: number;
|
|
3555
|
-
h: number;
|
|
3556
|
-
}[];
|
|
3557
|
-
};
|
|
3558
|
-
}[];
|
|
3559
|
-
};
|
|
3622
|
+
};
|
|
3623
|
+
edit_perspective?: {
|
|
3624
|
+
favorited: boolean;
|
|
3625
|
+
retweeted: boolean;
|
|
3560
3626
|
};
|
|
3561
3627
|
quick_promote_eligibility?: {
|
|
3562
3628
|
eligibility: string;
|
|
@@ -3579,8 +3645,12 @@ export interface CustomTweetObject {
|
|
|
3579
3645
|
};
|
|
3580
3646
|
}[];
|
|
3581
3647
|
};
|
|
3582
|
-
|
|
3583
|
-
|
|
3648
|
+
previous_counts?: {
|
|
3649
|
+
bookmark_count: number;
|
|
3650
|
+
favorite_count: number;
|
|
3651
|
+
quote_count: number;
|
|
3652
|
+
reply_count: number;
|
|
3653
|
+
retweet_count: number;
|
|
3584
3654
|
};
|
|
3585
3655
|
note_tweet?: {
|
|
3586
3656
|
is_expandable?: boolean;
|
|
@@ -3589,7 +3659,12 @@ export interface CustomTweetObject {
|
|
|
3589
3659
|
id: string;
|
|
3590
3660
|
text: string;
|
|
3591
3661
|
entity_set: {
|
|
3592
|
-
user_mentions:
|
|
3662
|
+
user_mentions: {
|
|
3663
|
+
id_str: string;
|
|
3664
|
+
name: string;
|
|
3665
|
+
screen_name: string;
|
|
3666
|
+
indices: number[];
|
|
3667
|
+
}[];
|
|
3593
3668
|
urls: {
|
|
3594
3669
|
display_url: string;
|
|
3595
3670
|
expanded_url: string;
|
|
@@ -3615,6 +3690,51 @@ export interface CustomTweetObject {
|
|
|
3615
3690
|
};
|
|
3616
3691
|
};
|
|
3617
3692
|
};
|
|
3693
|
+
edit_perspective?: {
|
|
3694
|
+
favorited: boolean;
|
|
3695
|
+
retweeted: boolean;
|
|
3696
|
+
};
|
|
3697
|
+
birdwatch_pivot?: {
|
|
3698
|
+
callToAction: {
|
|
3699
|
+
prompt: string;
|
|
3700
|
+
title: string;
|
|
3701
|
+
destinationUrl: string;
|
|
3702
|
+
};
|
|
3703
|
+
destinationUrl: string;
|
|
3704
|
+
footer: {
|
|
3705
|
+
text: string;
|
|
3706
|
+
entities: {
|
|
3707
|
+
fromIndex: number;
|
|
3708
|
+
toIndex: number;
|
|
3709
|
+
ref: {
|
|
3710
|
+
type: string;
|
|
3711
|
+
url: string;
|
|
3712
|
+
urlType: string;
|
|
3713
|
+
};
|
|
3714
|
+
}[];
|
|
3715
|
+
};
|
|
3716
|
+
note: {
|
|
3717
|
+
rest_id: string;
|
|
3718
|
+
};
|
|
3719
|
+
subtitle: {
|
|
3720
|
+
text: string;
|
|
3721
|
+
entities: {
|
|
3722
|
+
fromIndex: number;
|
|
3723
|
+
toIndex: number;
|
|
3724
|
+
ref: {
|
|
3725
|
+
type: string;
|
|
3726
|
+
url: string;
|
|
3727
|
+
urlType: string;
|
|
3728
|
+
};
|
|
3729
|
+
}[];
|
|
3730
|
+
};
|
|
3731
|
+
title: string;
|
|
3732
|
+
shorttitle: string;
|
|
3733
|
+
iconType: string;
|
|
3734
|
+
};
|
|
3735
|
+
quick_promote_eligibility?: {
|
|
3736
|
+
eligibility: string;
|
|
3737
|
+
};
|
|
3618
3738
|
voiceInfo?: {};
|
|
3619
3739
|
}
|
|
3620
3740
|
//# sourceMappingURL=custom-tweet-object.d.ts.map
|