UNPKG

6.8 kBTypeScriptView Raw
1export interface ReelsMediaFeedResponseRootObject {
2 reels: ReelsMediaFeedResponseReels;
3 status: string;
4}
5export interface ReelsMediaFeedResponseReels {
6 [pk: string]: ReelsMediaFeedResponse;
7}
8export interface ReelsMediaFeedResponse {
9 id: number;
10 latest_reel_media: number;
11 expiring_at: number;
12 seen: number;
13 can_reply: boolean;
14 can_reshare: boolean;
15 reel_type: string;
16 user: ReelsMediaFeedResponseUser;
17 items: ReelsMediaFeedResponseItem[];
18 prefetch_count: number;
19 media_count: number;
20}
21export interface ReelsMediaFeedResponseUser {
22 pk: number;
23 username?: string;
24 full_name?: string;
25 is_private?: boolean;
26 profile_pic_url?: string;
27 profile_pic_id?: string;
28 friendship_status?: ReelsMediaFeedResponseFriendshipStatus;
29 is_verified?: boolean;
30}
31export interface ReelsMediaFeedResponseFriendshipStatus {
32 following: boolean;
33 is_private: boolean;
34 incoming_request: boolean;
35 outgoing_request: boolean;
36 is_bestie: boolean;
37}
38export interface ReelsMediaFeedResponseItem {
39 taken_at: number;
40 pk: string;
41 id: string;
42 device_timestamp: string;
43 media_type: number;
44 code: string;
45 client_cache_key: string;
46 filter_type: number;
47 image_versions2: ReelsMediaFeedResponseImageVersions2;
48 original_width: number;
49 original_height: number;
50 caption_position: number;
51 is_reel_media: boolean;
52 is_dash_eligible: number;
53 video_dash_manifest: string;
54 video_codec: string;
55 number_of_qualities: number;
56 video_versions: ReelsMediaFeedResponseVideoVersionsItem[];
57 has_audio: boolean;
58 video_duration: number;
59 user: ReelsMediaFeedResponseUser;
60 caption_is_edited: boolean;
61 photo_of_you: boolean;
62 caption: null;
63 can_viewer_save: boolean;
64 organic_tracking_token: string;
65 expiring_at: number;
66 can_reshare: boolean;
67 can_reply: boolean;
68 reel_mentions?: ReelsMediaFeedResponseReelMentionsItem[];
69 supports_reel_reactions: boolean;
70 show_one_tap_fb_share_tooltip: boolean;
71 has_shared_to_fb: number;
72 ad_action?: string;
73 link_text?: string;
74 story_cta?: ReelsMediaFeedResponseStoryCtaItem[];
75 imported_taken_at?: number;
76 story_polls?: ReelsMediaFeedResponseStoryPollsItem[];
77 story_questions?: ReelsMediaFeedResponseStoryQuestionsItem[];
78 story_quizs?: ReelsMediaFeedResponseStoryQuizsItem[];
79 story_sliders?: ReelsMediaFeedResponseStorySlidersItem[];
80 story_countdowns?: ReelsMediaFeedResponseStoryCountdownsItem[];
81}
82export interface ReelsMediaFeedResponseStoryPollsItem {
83 x: number;
84 y: number;
85 z: number;
86 width: number;
87 height: number;
88 rotation: number;
89 is_pinned: number;
90 is_hidden: number;
91 is_sticker: number;
92 poll_sticker: ReelsMediaFeedResponsePollSticker;
93}
94export interface ReelsMediaFeedResponsePollSticker {
95 id: string;
96 poll_id: number;
97 question: string;
98 tallies: ReelsMediaFeedResponseTalliesItem[];
99 promotion_tallies: null;
100 viewer_can_vote: boolean;
101 viewer_vote?: number;
102 is_shared_result: boolean;
103 finished: boolean;
104}
105export interface ReelsMediaFeedResponseTalliesItem {
106 text: string;
107 font_size?: number;
108 count: number;
109}
110export interface ReelsMediaFeedResponseStoryQuestionsItem {
111 x: number;
112 y: number;
113 z: number;
114 width: number;
115 height: number;
116 rotation: number;
117 is_pinned: number;
118 is_hidden: number;
119 is_sticker: number;
120 question_sticker: ReelsMediaFeedResponseQuestionSticker;
121}
122export interface ReelsMediaFeedResponseQuestionSticker {
123 question_type: string;
124 question_id: number;
125 question: string;
126 media_id: number;
127 text_color: string;
128 background_color: string;
129 viewer_can_interact: boolean;
130 profile_pic_url: string;
131}
132export interface ReelsMediaFeedResponseStoryQuizsItem {
133 x: number;
134 y: number;
135 z: number;
136 width: number;
137 height: number;
138 rotation: number;
139 is_pinned: number;
140 is_hidden: number;
141 is_sticker: number;
142 quiz_sticker: ReelsMediaFeedResponseQuizSticker;
143}
144export interface ReelsMediaFeedResponseQuizSticker {
145 id: string;
146 quiz_id: number;
147 question: string;
148 tallies: ReelsMediaFeedResponseTalliesItem[];
149 correct_answer: number;
150 viewer_can_answer: boolean;
151 finished: boolean;
152 text_color: string;
153 start_background_color: string;
154 end_background_color: string;
155 viewer_answer?: number;
156}
157export interface ReelsMediaFeedResponseStorySlidersItem {
158 x: number;
159 y: number;
160 z: number;
161 width: number;
162 height: number;
163 rotation: number;
164 is_pinned: number;
165 is_hidden: number;
166 is_sticker: number;
167 slider_sticker: ReelsMediaFeedResponseSliderSticker;
168}
169export interface ReelsMediaFeedResponseSliderSticker {
170 slider_id: number;
171 question: string;
172 emoji: string;
173 text_color: string;
174 background_color: string;
175 viewer_can_vote: boolean;
176 slider_vote_average: null;
177 slider_vote_count: number;
178 viewer_vote?: number;
179}
180export interface ReelsMediaFeedResponseStoryCountdownsItem {
181 x: number;
182 y: number;
183 z: number;
184 width: number;
185 height: number;
186 rotation: number;
187 is_pinned: number;
188 is_hidden: number;
189 is_sticker: number;
190 countdown_sticker: ReelsMediaFeedResponseCountdown_sticker;
191}
192export interface ReelsMediaFeedResponseCountdown_sticker {
193 countdown_id: number;
194 end_ts: number;
195 text: string;
196 text_color: string;
197 start_background_color: string;
198 end_background_color: string;
199 digit_color: string;
200 digit_card_color: string;
201 following_enabled: boolean;
202 is_owner: boolean;
203 attribution: null;
204 viewer_is_following: boolean;
205}
206export interface ReelsMediaFeedResponseImageVersions2 {
207 candidates: ReelsMediaFeedResponseCandidatesItem[];
208}
209export interface ReelsMediaFeedResponseCandidatesItem {
210 width: number;
211 height: number;
212 url: string;
213}
214export interface ReelsMediaFeedResponseVideoVersionsItem {
215 type: number;
216 width: number;
217 height: number;
218 url: string;
219 id: string;
220}
221export interface ReelsMediaFeedResponseReelMentionsItem {
222 x: string;
223 y: string;
224 z: number;
225 width: string;
226 height: string;
227 rotation: number;
228 is_pinned: number;
229 is_hidden: number;
230 user: ReelsMediaFeedResponseUser;
231}
232export interface ReelsMediaFeedResponseStoryCtaItem {
233 links: ReelsMediaFeedResponseLinksItem[];
234}
235export interface ReelsMediaFeedResponseLinksItem {
236 linkType: number;
237 webUri: string;
238 androidClass: string;
239 package: string;
240 deeplinkUri: string;
241 callToActionTitle: string;
242 redirectUri: null;
243 leadGenFormId: string;
244 igUserId: string;
245 appInstallObjectiveInvalidationBehavior: null;
246}