UNPKG

6.16 kBTypeScriptView Raw
1export interface IgtvBrowseFeedResponseRootObject {
2 badging: IgtvBrowseFeedResponseBadging;
3 my_channel: IgtvBrowseFeedResponseMy_channel;
4 composer: IgtvBrowseFeedResponseComposer;
5 banner_token: string;
6 browse_items: IgtvBrowseFeedResponseBrowseItemsItem[];
7 max_id: string;
8 seen_state: IgtvBrowseFeedResponseSeen_state;
9 more_available: boolean;
10 channels: IgtvBrowseFeedResponseChannelsItem[];
11 status: string;
12}
13export interface IgtvBrowseFeedResponseBadging {
14 ids: any[];
15 items: any[];
16}
17export interface IgtvBrowseFeedResponseMy_channel {
18 id: string;
19 items: any[];
20 more_available: boolean;
21 seen_state: IgtvBrowseFeedResponseSeen_state;
22 title: string;
23 type: string;
24 max_id: null;
25 user_dict: IgtvBrowseFeedResponseUser_dict;
26 description: null;
27 cover_photo_url: null;
28 approx_total_videos: null;
29}
30export interface IgtvBrowseFeedResponseSeen_state {
31}
32export interface IgtvBrowseFeedResponseUser_dict {
33 pk: number;
34 username: string;
35 full_name: string;
36 is_private: boolean;
37 profile_pic_url: string;
38 profile_pic_id: string;
39 is_verified: boolean;
40 has_anonymous_profile_picture: boolean;
41 media_count: number;
42 follower_count: number;
43 following_count: number;
44 following_tag_count: number;
45 biography: string;
46 can_link_entities_in_bio: boolean;
47 biography_with_entities: IgtvBrowseFeedResponseBiography_with_entities;
48 external_url: string;
49 external_lynx_url: string;
50 has_biography_translation: boolean;
51 can_boost_post: boolean;
52 can_see_organic_insights: boolean;
53 show_insights_terms: boolean;
54 total_igtv_videos: number;
55 reel_auto_archive: string;
56 has_placed_orders: boolean;
57 allowed_commenter_type: string;
58 friendship_status: IgtvBrowseFeedResponseFriendship_status;
59}
60export interface IgtvBrowseFeedResponseBiography_with_entities {
61 raw_text: string;
62 entities: any[];
63}
64export interface IgtvBrowseFeedResponseFriendship_status {
65 following: boolean;
66 followed_by?: boolean;
67 blocking?: boolean;
68 muting?: boolean;
69 is_private?: boolean;
70 incoming_request?: boolean;
71 outgoing_request: boolean;
72 is_bestie: boolean;
73 is_restricted: boolean;
74}
75export interface IgtvBrowseFeedResponseComposer {
76 nux_finished: boolean;
77 aspect_ratio_finished: boolean;
78}
79export interface IgtvBrowseFeedResponseBrowseItemsItem {
80 type: string;
81 item: IgtvBrowseFeedResponseItem;
82}
83export interface IgtvBrowseFeedResponseItem {
84 taken_at: number;
85 pk: string;
86 id: string;
87 device_timestamp: number;
88 media_type: number;
89 code: string;
90 client_cache_key: string;
91 filter_type: number;
92 image_versions2: IgtvBrowseFeedResponseImage_versions2;
93 original_width: number;
94 original_height: number;
95 is_dash_eligible: number;
96 video_dash_manifest: string;
97 video_codec: string;
98 number_of_qualities: number;
99 video_versions: IgtvBrowseFeedResponseVideoVersionsItem[];
100 has_audio: boolean;
101 video_duration: number;
102 view_count: number;
103 user: IgtvBrowseFeedResponseUser;
104 can_viewer_reshare: boolean;
105 caption_is_edited: boolean;
106 comment_likes_enabled: boolean;
107 comment_threading_enabled: boolean;
108 has_more_comments: boolean;
109 max_num_visible_preview_comments: number;
110 preview_comments: any[];
111 can_view_more_preview_comments: boolean;
112 comment_count: number;
113 title: string;
114 product_type: string;
115 nearly_complete_copyright_match: boolean;
116 media_cropping_info: IgtvBrowseFeedResponseMedia_cropping_info;
117 thumbnails: IgtvBrowseFeedResponseThumbnails;
118 photo_of_you: boolean;
119 caption: IgtvBrowseFeedResponseCaption;
120 can_viewer_save: boolean;
121 organic_tracking_token: string;
122 explore: IgtvBrowseFeedResponseExplore;
123 mezql_token: string;
124}
125export interface IgtvBrowseFeedResponseImage_versions2 {
126 candidates: IgtvBrowseFeedResponseCandidatesItem[];
127 additional_candidates: IgtvBrowseFeedResponseAdditional_candidates;
128}
129export interface IgtvBrowseFeedResponseCandidatesItem {
130 width: number;
131 height: number;
132 url: string;
133}
134export interface IgtvBrowseFeedResponseAdditional_candidates {
135 igtv_first_frame: IgtvBrowseFeedResponseIgtv_first_frame;
136}
137export interface IgtvBrowseFeedResponseIgtv_first_frame {
138 width: number;
139 height: number;
140 url: string;
141}
142export interface IgtvBrowseFeedResponseVideoVersionsItem {
143 type: number;
144 width: number;
145 height: number;
146 url: string;
147 id: string;
148}
149export interface IgtvBrowseFeedResponseUser {
150 pk: number;
151 username: string;
152 full_name: string;
153 is_private: boolean;
154 profile_pic_url: string;
155 profile_pic_id: string;
156 friendship_status: IgtvBrowseFeedResponseFriendship_status;
157 is_verified: boolean;
158 has_anonymous_profile_picture: boolean;
159 is_unpublished: boolean;
160 is_favorite: boolean;
161}
162export interface IgtvBrowseFeedResponseMedia_cropping_info {
163}
164export interface IgtvBrowseFeedResponseThumbnails {
165 video_length: number;
166 thumbnail_width: number;
167 thumbnail_height: number;
168 thumbnail_duration: string;
169 sprite_urls: string[];
170 thumbnails_per_row: number;
171 max_thumbnails_per_sprite: number;
172 sprite_width: number;
173 sprite_height: number;
174 rendered_width: number;
175}
176export interface IgtvBrowseFeedResponseCaption {
177 pk: string;
178 user_id: number;
179 text: string;
180 type: number;
181 created_at: number;
182 created_at_utc: number;
183 content_type: string;
184 status: string;
185 bit_flags: number;
186 user: IgtvBrowseFeedResponseUser;
187 did_report_as_spam: boolean;
188 share_enabled: boolean;
189 media_id: string;
190 has_translation?: boolean;
191}
192export interface IgtvBrowseFeedResponseExplore {
193 explanation: string;
194}
195export interface IgtvBrowseFeedResponseChannelsItem {
196 id: string;
197 items: any[];
198 more_available: boolean;
199 seen_state: IgtvBrowseFeedResponseSeen_state;
200 title: string;
201 type: string;
202 max_id: null;
203 user_dict: null;
204 description: null;
205 cover_photo_url: null;
206 approx_total_videos: null;
207}