forked from dilame/instagram-private-api
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdiscover.feed.response.ts
41 lines (40 loc) · 1.08 KB
/
discover.feed.response.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { ProfileEntity } from '../entities';
export interface DiscoverFeedResponseRootObject {
more_available: boolean;
max_id: string;
next_max_id: string;
suggested_users: DiscoverFeedResponseSuggested_users;
new_suggested_users: DiscoverFeedResponseNew_suggested_users;
status: string;
}
export interface DiscoverFeedResponseSuggested_users {
suggestions: DiscoverFeedResponseSuggestionsItem[];
}
export interface DiscoverFeedResponseSuggestionsItem {
user: DiscoverFeedResponseUser;
algorithm: string;
social_context: string;
icon: string;
caption: string;
media_ids: any[];
thumbnail_urls: any[];
large_urls: any[];
media_infos: any[];
value: number;
followed_by: boolean;
is_new_suggestion: boolean;
uuid: string;
}
export class DiscoverFeedResponseUser extends ProfileEntity {
pk: string;
username: string;
full_name: string;
is_private: boolean;
profile_pic_url: string;
profile_pic_id: string;
is_verified: boolean;
has_anonymous_profile_picture: boolean;
}
export interface DiscoverFeedResponseNew_suggested_users {
suggestions: any[];
}