UNPKG

1.94 kBTypeScriptView Raw
1export interface DirectThreadFeedResponse {
2 thread: DirectThreadFeedResponseThread;
3 status: string;
4}
5export interface DirectThreadFeedResponseThread {
6 thread_id: string;
7 thread_v2_id: string;
8 users: any[];
9 left_users: any[];
10 admin_user_ids: any[];
11 items: DirectThreadFeedResponseItemsItem[];
12 last_activity_at: string;
13 muted: boolean;
14 is_pin: boolean;
15 named: boolean;
16 canonical: boolean;
17 pending: boolean;
18 archived: boolean;
19 valued_request: boolean;
20 thread_type: string;
21 viewer_id: number;
22 thread_title: string;
23 pending_score: string;
24 folder: number;
25 vc_muted: boolean;
26 is_group: boolean;
27 mentions_muted: boolean;
28 inviter: DirectThreadFeedResponseInviter;
29 has_older: boolean;
30 has_newer: boolean;
31 last_seen_at: DirectThreadFeedResponseLast_seen_at;
32 newest_cursor: string;
33 oldest_cursor: string;
34 prev_cursor: string;
35 last_permanent_item: DirectThreadFeedResponseLast_permanent_item;
36}
37export interface DirectThreadFeedResponseItemsItem {
38 item_id: string;
39 user_id: number;
40 timestamp: string;
41 item_type: string;
42 text: string;
43 client_context: string;
44}
45export interface DirectThreadFeedResponseInviter {
46 pk: number;
47 username: string;
48 full_name: string;
49 is_private: boolean;
50 profile_pic_url: string;
51 profile_pic_id: string;
52 is_verified: boolean;
53 has_anonymous_profile_picture: boolean;
54 reel_auto_archive: string;
55 allowed_commenter_type: string;
56}
57export interface DirectThreadFeedResponseLast_seen_at {
58 300687565: DirectThreadFeedResponse300687565;
59}
60export interface DirectThreadFeedResponse300687565 {
61 timestamp: string;
62 item_id: string;
63}
64export interface DirectThreadFeedResponseLast_permanent_item {
65 item_id: string;
66 user_id: number;
67 timestamp: string;
68 item_type: string;
69 text: string;
70 client_context: string;
71}