UNPKG

5.4 kBTypeScriptView Raw
1export interface IgtvChannelFeedResponseRootObject {
2 id: string;
3 items: IgtvChannelFeedResponseItemsItem[];
4 more_available: boolean;
5 seen_state: IgtvChannelFeedResponseSeen_state;
6 title: string;
7 type: string;
8 max_id: string;
9 user_dict: IgtvChannelFeedResponseUser_dict;
10 description: null;
11 cover_photo_url: null;
12 approx_total_videos: null;
13 status: string;
14}
15export interface IgtvChannelFeedResponseItemsItem {
16 taken_at: number;
17 pk: string;
18 id: string;
19 device_timestamp: number | string;
20 media_type: number;
21 code: string;
22 client_cache_key: string;
23 filter_type: number;
24 image_versions2: IgtvChannelFeedResponseImage_versions2;
25 original_width: number;
26 original_height: number;
27 is_dash_eligible: number;
28 video_dash_manifest: string;
29 video_codec: string;
30 number_of_qualities: number;
31 video_versions: IgtvChannelFeedResponseVideoVersionsItem[];
32 has_audio: boolean;
33 video_duration: number;
34 view_count: number;
35 user: IgtvChannelFeedResponseUser;
36 can_viewer_reshare: boolean;
37 caption_is_edited: boolean;
38 comment_likes_enabled: boolean;
39 comment_threading_enabled: boolean;
40 has_more_comments: boolean;
41 next_max_id: string;
42 max_num_visible_preview_comments: number;
43 preview_comments: IgtvChannelFeedResponsePreviewCommentsItem[];
44 can_view_more_preview_comments: boolean;
45 comment_count: number;
46 title: string;
47 product_type: string;
48 nearly_complete_copyright_match: boolean;
49 media_cropping_info: IgtvChannelFeedResponseMedia_cropping_info;
50 thumbnails: IgtvChannelFeedResponseThumbnails;
51 like_count: number;
52 has_liked: boolean;
53 photo_of_you: boolean;
54 caption: IgtvChannelFeedResponseCaption;
55 can_viewer_save: boolean;
56 organic_tracking_token: string;
57}
58export interface IgtvChannelFeedResponseImage_versions2 {
59 candidates: IgtvChannelFeedResponseCandidatesItem[];
60 additional_candidates: IgtvChannelFeedResponseAdditional_candidates;
61}
62export interface IgtvChannelFeedResponseCandidatesItem {
63 width: number;
64 height: number;
65 url: string;
66}
67export interface IgtvChannelFeedResponseAdditional_candidates {
68 igtv_first_frame: IgtvChannelFeedResponseIgtv_first_frame;
69}
70export interface IgtvChannelFeedResponseIgtv_first_frame {
71 width: number;
72 height: number;
73 url: string;
74}
75export interface IgtvChannelFeedResponseVideoVersionsItem {
76 type: number;
77 width: number;
78 height: number;
79 url: string;
80 id: string;
81}
82export interface IgtvChannelFeedResponseUser {
83 pk: number;
84 username: string;
85 full_name: string;
86 is_private: boolean;
87 profile_pic_url: string;
88 profile_pic_id?: string;
89 friendship_status?: IgtvChannelFeedResponseFriendship_status;
90 is_verified: boolean;
91 has_anonymous_profile_picture?: boolean;
92 is_unpublished?: boolean;
93 is_favorite?: boolean;
94}
95export interface IgtvChannelFeedResponseFriendship_status {
96 following: boolean;
97 outgoing_request: boolean;
98 is_bestie: boolean;
99 is_restricted: boolean;
100 followed_by?: boolean;
101 blocking?: boolean;
102 muting?: boolean;
103 is_private?: boolean;
104 incoming_request?: boolean;
105}
106export interface IgtvChannelFeedResponsePreviewCommentsItem {
107 pk: string;
108 user_id: number;
109 text: string;
110 type: number;
111 created_at: number;
112 created_at_utc: number;
113 content_type: string;
114 status: string;
115 bit_flags: number;
116 user: IgtvChannelFeedResponseUser;
117 did_report_as_spam: boolean;
118 share_enabled: boolean;
119 media_id: string;
120 has_translation?: boolean;
121 parent_comment_id?: string;
122}
123export interface IgtvChannelFeedResponseMedia_cropping_info {
124}
125export interface IgtvChannelFeedResponseThumbnails {
126 video_length: number;
127 thumbnail_width: number;
128 thumbnail_height: number;
129 thumbnail_duration: string | number;
130 sprite_urls: string[];
131 thumbnails_per_row: number;
132 max_thumbnails_per_sprite: number;
133 sprite_width: number;
134 sprite_height: number;
135 rendered_width: number;
136}
137export interface IgtvChannelFeedResponseCaption {
138 pk: string;
139 user_id: number;
140 text: string;
141 type: number;
142 created_at: number;
143 created_at_utc: number;
144 content_type: string;
145 status: string;
146 bit_flags: number;
147 user: IgtvChannelFeedResponseUser;
148 did_report_as_spam: boolean;
149 share_enabled: boolean;
150 media_id: string;
151 has_translation: boolean;
152}
153export interface IgtvChannelFeedResponseSeen_state {
154}
155export interface IgtvChannelFeedResponseUser_dict {
156 pk: number;
157 username: string;
158 full_name: string;
159 is_private: boolean;
160 profile_pic_url: string;
161 profile_pic_id: string;
162 is_verified: boolean;
163 has_anonymous_profile_picture: boolean;
164 media_count: number;
165 geo_media_count: number;
166 follower_count: number;
167 following_count: number;
168 following_tag_count: number;
169 biography: string;
170 biography_with_entities: IgtvChannelFeedResponseBiography_with_entities;
171 external_url: string;
172 external_lynx_url: string;
173 has_biography_translation: boolean;
174 total_igtv_videos: number;
175 has_igtv_series: boolean;
176 friendship_status: IgtvChannelFeedResponseFriendship_status;
177}
178export interface IgtvChannelFeedResponseBiography_with_entities {
179 raw_text: string;
180 entities: any[];
181}