UNPKG

7.43 kBTypeScriptView Raw
1export interface ReelsTrayFeedResponseRootObject {
2 tray: ReelsTrayFeedResponseTrayItem[];
3 story_ranking_token: string;
4 broadcasts: ReelsTrayFeedResponseBroadcastsItem[];
5 sticker_version: number;
6 face_filter_nux_version: number;
7 stories_viewer_gestures_nux_eligible: boolean;
8 has_new_nux_story: boolean;
9 status: string;
10}
11export interface ReelsTrayFeedResponseTrayItem {
12 id: number;
13 latest_reel_media: number;
14 expiring_at: number;
15 seen: number;
16 can_reply: boolean;
17 can_reshare: boolean;
18 reel_type: string;
19 user: ReelsTrayFeedResponseUser;
20 ranked_position: number;
21 seen_ranked_position: number;
22 muted: boolean;
23 prefetch_count: number;
24 has_besties_media: boolean;
25 media_count: number;
26 media_ids: string[];
27 has_pride_media: boolean;
28 items?: ReelsTrayFeedResponseItemsItem[];
29 hide_from_feed_unit?: boolean;
30}
31export interface ReelsTrayFeedResponseUser {
32 pk: number;
33 username?: string;
34 full_name?: string;
35 is_private?: boolean;
36 profile_pic_url?: string;
37 profile_pic_id?: string;
38 is_verified?: boolean;
39 friendship_status?: ReelsTrayFeedResponseFriendship_status;
40}
41export interface ReelsTrayFeedResponseFriendship_status {
42 muting: boolean;
43 is_muting_reel: boolean;
44 following: boolean;
45 outgoing_request: boolean;
46 followed_by?: boolean;
47 blocking?: boolean;
48 is_private?: boolean;
49 incoming_request?: boolean;
50 is_bestie?: boolean;
51 is_restricted?: boolean;
52}
53export interface ReelsTrayFeedResponseItemsItem {
54 taken_at: number;
55 pk: string;
56 id: string;
57 device_timestamp: number | string;
58 media_type: number;
59 code: string;
60 client_cache_key: string;
61 filter_type: number;
62 image_versions2: ReelsTrayFeedResponseImage_versions2;
63 original_width: number;
64 original_height: number;
65 user: ReelsTrayFeedResponseUser;
66 caption_is_edited: boolean;
67 caption_position: number;
68 is_reel_media: boolean;
69 photo_of_you: boolean;
70 caption: null;
71 can_viewer_save: boolean;
72 organic_tracking_token: string;
73 expiring_at: number;
74 imported_taken_at?: number;
75 can_reshare: boolean;
76 can_reply: boolean;
77 is_pride_media: boolean;
78 story_quizs?: ReelsTrayFeedResponseStoryQuizsItem[];
79 supports_reel_reactions: boolean;
80 show_one_tap_fb_share_tooltip: boolean;
81 has_shared_to_fb: number;
82 story_locations?: ReelsTrayFeedResponseStoryLocationsItem[];
83 is_dash_eligible?: number;
84 video_dash_manifest?: string;
85 video_codec?: string;
86 number_of_qualities?: number;
87 video_versions?: ReelsTrayFeedResponseVideoVersionsItem[];
88 has_audio?: boolean;
89 video_duration?: number;
90 reel_mentions?: ReelsTrayFeedResponseReelMentionsItem[];
91 story_questions?: ReelsTrayFeedResponseStoryQuestionsItem[];
92 creative_config?: ReelsTrayFeedResponseCreative_config;
93 attribution?: ReelsTrayFeedResponseAttribution;
94 story_polls?: ReelsTrayFeedResponseStoryPollsItem[];
95}
96export interface ReelsTrayFeedResponseImage_versions2 {
97 candidates: ReelsTrayFeedResponseCandidatesItem[];
98}
99export interface ReelsTrayFeedResponseCandidatesItem {
100 width: number;
101 height: number;
102 url: string;
103 estimated_scans_sizes: number[];
104}
105export interface ReelsTrayFeedResponseStoryQuizsItem {
106 x: string;
107 y: number;
108 z: number;
109 width: number;
110 height: number;
111 rotation: string;
112 is_pinned: number;
113 is_hidden: number;
114 is_sticker: number;
115 quiz_sticker: ReelsTrayFeedResponseQuiz_sticker;
116}
117export interface ReelsTrayFeedResponseQuiz_sticker {
118 id: string;
119 quiz_id: string;
120 question: string;
121 tallies: ReelsTrayFeedResponseTalliesItem[];
122 correct_answer: number;
123 viewer_can_answer: boolean;
124 finished: boolean;
125 text_color: string;
126 start_background_color: string;
127 end_background_color: string;
128}
129export interface ReelsTrayFeedResponseTalliesItem {
130 text: string;
131 count: number;
132 font_size?: number;
133}
134export interface ReelsTrayFeedResponseStoryLocationsItem {
135 x: number;
136 y: number;
137 z: number;
138 width: number;
139 height: number;
140 rotation: number;
141 is_pinned: number;
142 is_hidden: number;
143 is_sticker: number;
144 location: ReelsTrayFeedResponseLocation;
145}
146export interface ReelsTrayFeedResponseLocation {
147 pk: number;
148 name: string;
149 address: string;
150 city: string;
151 short_name: string;
152 lng: number;
153 lat: number;
154 external_source: string;
155 facebook_places_id: number;
156}
157export interface ReelsTrayFeedResponseVideoVersionsItem {
158 type: number;
159 width: number;
160 height: number;
161 url: string;
162 id: string;
163}
164export interface ReelsTrayFeedResponseReelMentionsItem {
165 x: number;
166 y: string | number;
167 z: number;
168 width: number;
169 height: number | string;
170 rotation: string | number;
171 is_pinned: number;
172 is_hidden: number;
173 display_type: string;
174 is_sticker: number;
175 user: ReelsTrayFeedResponseUser;
176}
177export interface ReelsTrayFeedResponseStoryQuestionsItem {
178 x: number;
179 y: number;
180 z: number;
181 width: number;
182 height: number;
183 rotation: number;
184 is_pinned: number;
185 is_hidden: number;
186 is_sticker: number;
187 question_sticker: ReelsTrayFeedResponseQuestion_sticker;
188}
189export interface ReelsTrayFeedResponseQuestion_sticker {
190 question_type: string;
191 question_id: string;
192 question: string;
193 media_id: string;
194 text_color: string;
195 background_color: string;
196 viewer_can_interact: boolean;
197 profile_pic_url: string;
198}
199export interface ReelsTrayFeedResponseCreative_config {
200 capture_type: string;
201 camera_facing: string;
202 should_render_try_it_on: boolean;
203}
204export interface ReelsTrayFeedResponseAttribution {
205 name: string;
206}
207export interface ReelsTrayFeedResponseStoryPollsItem {
208 x: number;
209 y: string;
210 z: number;
211 width: number;
212 height: string;
213 rotation: number;
214 is_pinned: number;
215 is_hidden: number;
216 is_sticker: number;
217 poll_sticker: ReelsTrayFeedResponsePoll_sticker;
218}
219export interface ReelsTrayFeedResponsePoll_sticker {
220 id: string;
221 poll_id: string;
222 question: string;
223 tallies: ReelsTrayFeedResponseTalliesItem[];
224 promotion_tallies: null;
225 viewer_can_vote: boolean;
226 is_shared_result: boolean;
227 finished: boolean;
228}
229export interface ReelsTrayFeedResponseBroadcastsItem {
230 id: string;
231 rtmp_playback_url: string;
232 dash_playback_url: string;
233 dash_abr_playback_url: null;
234 dash_live_predictive_playback_url: string;
235 broadcast_status: string;
236 viewer_count: number;
237 internal_only: boolean;
238 muted: boolean;
239 ranked_position: number;
240 seen_ranked_position: number;
241 cover_frame_url: string;
242 cobroadcasters: any[];
243 is_player_live_trace_enabled: number;
244 is_gaming_content: boolean;
245 broadcast_owner: ReelsTrayFeedResponseBroadcast_owner;
246 published_time: number;
247 hide_from_feed_unit: boolean;
248 media_id: string;
249 broadcast_message: string;
250 organic_tracking_token: string;
251}
252export interface ReelsTrayFeedResponseBroadcast_owner {
253 pk: number;
254 username: string;
255 full_name: string;
256 is_private: boolean;
257 profile_pic_url: string;
258 profile_pic_id: string;
259 friendship_status: ReelsTrayFeedResponseFriendship_status;
260 is_verified: boolean;
261 live_subscription_status: string;
262}