UNPKG

1.18 kBTypeScriptView Raw
1export interface LiveInfoResponseRootObject {
2 id: string;
3 rtmp_playback_url: string;
4 dash_playback_url: string;
5 dash_abr_playback_url: null;
6 dash_live_predictive_playback_url: string;
7 broadcast_status: string;
8 viewer_count: number;
9 internal_only: boolean;
10 cobroadcasters: any[];
11 is_player_live_trace_enabled: number;
12 is_gaming_content: boolean;
13 broadcast_owner: LiveInfoResponseBroadcast_owner;
14 published_time: number;
15 hide_from_feed_unit: boolean;
16 media_id: string;
17 broadcast_message: string;
18 organic_tracking_token: string;
19 status: string;
20}
21export interface LiveInfoResponseBroadcast_owner {
22 pk: number;
23 username: string;
24 full_name: string;
25 is_private: boolean;
26 profile_pic_url: string;
27 profile_pic_id: string;
28 friendship_status: LiveInfoResponseFriendship_status;
29 is_verified: boolean;
30}
31export interface LiveInfoResponseFriendship_status {
32 following: boolean;
33 followed_by: boolean;
34 blocking: boolean;
35 muting: boolean;
36 is_private: boolean;
37 incoming_request: boolean;
38 outgoing_request: boolean;
39 is_bestie: boolean;
40 is_restricted: boolean;
41}