UNPKG

1.36 kBTypeScriptView Raw
1export interface LiveCommentsResponseRootObject {
2 comment_likes_enabled: boolean;
3 comments: LiveCommentsResponseCommentsItem[];
4 comment_count: number;
5 caption: null;
6 caption_is_edited: boolean;
7 has_more_comments: boolean;
8 has_more_headload_comments: boolean;
9 media_header_display: string;
10 can_view_more_preview_comments: boolean;
11 live_seconds_per_comment: number;
12 is_first_fetch: string;
13 system_comments: LiveCommentsResponseSystemCommentsItem[];
14 comment_muted: number;
15 status: string;
16}
17export interface LiveCommentsResponseCommentsItem {
18 pk: string;
19 user_id: number;
20 text: string;
21 type: number;
22 created_at: number;
23 created_at_utc: number;
24 content_type: string;
25 status: string;
26 bit_flags: number;
27 user: LiveCommentsResponseUser;
28 did_report_as_spam: boolean;
29 share_enabled: boolean;
30 inline_composer_display_condition: string;
31}
32export interface LiveCommentsResponseUser {
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 live_with_eligibility?: string;
41}
42export interface LiveCommentsResponseSystemCommentsItem {
43 pk: string;
44 created_at: number;
45 user: LiveCommentsResponseUser;
46 text: string;
47 user_count: number;
48}