UNPKG

1.24 kBTypeScriptView Raw
1export interface LiveAddToPostResponse {
2 pk: string;
3 user: LiveAddToPostUser;
4 broadcasts: LiveAddToPostBroadcast[];
5 last_seen_broadcast_ts: number;
6 can_reply: boolean;
7 can_reshare: boolean;
8 status: string;
9}
10export interface LiveAddToPostBroadcast {
11 id: string;
12 broadcast_status: string;
13 broadcast_owner: LiveAddToPostBroadcastOwner;
14 published_time: number;
15 hide_from_feed_unit: boolean;
16 media_id: string;
17 broadcast_message: string;
18 organic_tracking_token: string;
19}
20export interface LiveAddToPostUser {
21 pk: number;
22 username: string;
23 full_name: string;
24 is_private: boolean;
25 profile_pic_url: string;
26 is_verified: boolean;
27}
28export interface LiveAddToPostBroadcastOwner {
29 pk: number;
30 username: string;
31 full_name: string;
32 is_private: boolean;
33 profile_pic_url: string;
34 friendship_status: LiveAddToPostFriendshipstatus;
35 is_verified: boolean;
36}
37export interface LiveAddToPostFriendshipstatus {
38 following: boolean;
39 followed_by: boolean;
40 blocking: boolean;
41 muting: boolean;
42 is_private: boolean;
43 incoming_request: boolean;
44 outgoing_request: boolean;
45 is_bestie: boolean;
46 is_restricted: boolean;
47}