1 | export interface MediaCommentsFeedResponse {
|
2 | comment_likes_enabled: boolean;
|
3 | comments: MediaCommentsFeedResponseCommentsItem[];
|
4 | comment_count: number;
|
5 | caption: MediaCommentsFeedResponseCaption;
|
6 | caption_is_edited: boolean;
|
7 | has_more_comments: boolean;
|
8 | has_more_headload_comments: boolean;
|
9 | threading_enabled: boolean;
|
10 | media_header_display: string;
|
11 | initiate_at_top: boolean;
|
12 | insert_new_comment_to_top: boolean;
|
13 | quick_response_emojis: MediaCommentsFeedResponseQuickResponseEmojisItem[];
|
14 | preview_comments: MediaCommentsFeedResponsePreviewCommentsItem[];
|
15 | can_view_more_preview_comments: boolean;
|
16 | next_max_id: string;
|
17 | next_min_id: string;
|
18 | status: string;
|
19 | }
|
20 | export interface MediaCommentsFeedResponseCommentsItem {
|
21 | pk: string;
|
22 | user_id: number;
|
23 | text: string;
|
24 | type: number;
|
25 | created_at: number;
|
26 | created_at_utc: number;
|
27 | content_type: string;
|
28 | status: string;
|
29 | bit_flags: number;
|
30 | user: MediaCommentsFeedResponseUser;
|
31 | did_report_as_spam: boolean;
|
32 | share_enabled: boolean;
|
33 | has_translation?: boolean;
|
34 | has_liked_comment: boolean;
|
35 | comment_like_count: number;
|
36 | child_comment_count: number;
|
37 | preview_child_comments: MediaCommentsFeedResponsePreviewChildCommentsItem[];
|
38 | other_preview_users: MediaCommentsFeedResponseOtherPreviewUsersItem[];
|
39 | has_more_tail_child_comments?: boolean;
|
40 | next_min_child_cursor?: string;
|
41 | has_more_head_child_comments?: boolean;
|
42 | num_head_child_comments?: number;
|
43 | inline_composer_display_condition: string;
|
44 | comment_index: number;
|
45 | num_tail_child_comments?: number;
|
46 | }
|
47 | export interface MediaCommentsFeedResponseUser {
|
48 | pk: number;
|
49 | username: string;
|
50 | full_name: string;
|
51 | is_private: boolean;
|
52 | profile_pic_url: string;
|
53 | profile_pic_id?: string;
|
54 | is_verified: boolean;
|
55 | latest_reel_media?: number;
|
56 | has_anonymous_profile_picture?: boolean;
|
57 | }
|
58 | export interface MediaCommentsFeedResponsePreviewChildCommentsItem {
|
59 | content_type: string;
|
60 | user: MediaCommentsFeedResponseUser;
|
61 | pk: string;
|
62 | text: string;
|
63 | type: number;
|
64 | created_at: number;
|
65 | created_at_utc: number;
|
66 | media_id: string;
|
67 | status: string;
|
68 | parent_comment_id: string;
|
69 | share_enabled: boolean;
|
70 | has_liked_comment: boolean;
|
71 | comment_like_count: number;
|
72 | }
|
73 | export interface MediaCommentsFeedResponseOtherPreviewUsersItem {
|
74 | id: number;
|
75 | profile_pic_url: string;
|
76 | }
|
77 | export interface MediaCommentsFeedResponseCaption {
|
78 | pk: string;
|
79 | user_id: number;
|
80 | text: string;
|
81 | type: number;
|
82 | created_at: number;
|
83 | created_at_utc: number;
|
84 | content_type: string;
|
85 | status: string;
|
86 | bit_flags: number;
|
87 | user: MediaCommentsFeedResponseUser;
|
88 | did_report_as_spam: boolean;
|
89 | share_enabled: boolean;
|
90 | has_translation: boolean;
|
91 | }
|
92 | export interface MediaCommentsFeedResponseQuickResponseEmojisItem {
|
93 | unicode: string;
|
94 | }
|
95 | export interface MediaCommentsFeedResponsePreviewCommentsItem {
|
96 | pk: string;
|
97 | user_id: number;
|
98 | text: string;
|
99 | type: number;
|
100 | created_at: number;
|
101 | created_at_utc: number;
|
102 | content_type: string;
|
103 | status: string;
|
104 | bit_flags: number;
|
105 | user: MediaCommentsFeedResponseUser;
|
106 | did_report_as_spam: boolean;
|
107 | share_enabled: boolean;
|
108 | has_translation: boolean;
|
109 | has_liked_comment: boolean;
|
110 | comment_like_count: number;
|
111 | parent_comment_id?: string;
|
112 | }
|