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