UNPKG

2.68 kBTypeScriptView Raw
1export interface IgtvSearchResponseRootObject {
2 results: IgtvSearchResponseResultsItem[];
3 num_results: number;
4 has_more: boolean;
5 rank_token: string;
6 status: string;
7}
8export interface IgtvSearchResponseResultsItem {
9 type: string;
10 user: IgtvSearchResponseUser;
11 channel: IgtvSearchResponseChannel;
12}
13export interface IgtvSearchResponseUser {
14 pk?: number;
15 username: string;
16 full_name?: string;
17 is_private?: boolean;
18 profile_pic_url?: string;
19 profile_pic_id?: string;
20 is_verified?: boolean;
21 has_anonymous_profile_picture?: boolean;
22 biography?: string;
23 biography_with_entities?: IgtvSearchResponseBiography_with_entities;
24 external_url?: string;
25 external_lynx_url?: string;
26 mutual_followers_count?: number;
27 friendship_status?: IgtvSearchResponseFriendship_status;
28 latest_reel_media?: number;
29 has_biography_translation?: boolean;
30 id?: number;
31}
32export interface IgtvSearchResponseBiography_with_entities {
33 raw_text: string;
34 entities: IgtvSearchResponseEntitiesItem[];
35}
36export interface IgtvSearchResponseEntitiesItem {
37 hashtag?: IgtvSearchResponseHashtag;
38 user?: IgtvSearchResponseUser;
39}
40export interface IgtvSearchResponseHashtag {
41 id: string;
42 name: string;
43}
44export interface IgtvSearchResponseFriendship_status {
45 following: boolean;
46 is_private: boolean;
47 incoming_request: boolean;
48 outgoing_request: boolean;
49 is_bestie: boolean;
50 is_restricted: boolean;
51 followed_by?: boolean;
52 blocking?: boolean;
53 muting?: boolean;
54}
55export interface IgtvSearchResponseChannel {
56 id: string;
57 items: any[];
58 more_available: boolean;
59 seen_state: IgtvSearchResponseSeen_state;
60 title: string;
61 type: string;
62 max_id: null;
63 user_dict: IgtvSearchResponseUser_dict;
64 description: null;
65 cover_photo_url: null;
66 approx_total_videos: null;
67}
68export interface IgtvSearchResponseSeen_state {
69}
70export interface IgtvSearchResponseUser_dict {
71 pk: number;
72 username: string;
73 full_name: string;
74 is_private: boolean;
75 profile_pic_url: string;
76 profile_pic_id: string;
77 is_verified: boolean;
78 has_anonymous_profile_picture: boolean;
79 media_count: number;
80 geo_media_count?: number;
81 follower_count: number;
82 following_count: number;
83 following_tag_count: number;
84 biography: string;
85 biography_with_entities: IgtvSearchResponseBiography_with_entities;
86 external_url: string;
87 external_lynx_url?: string;
88 total_igtv_videos: number;
89 has_igtv_series: boolean;
90 friendship_status: IgtvSearchResponseFriendship_status;
91 has_biography_translation?: boolean;
92}