UNPKG

3.54 kBTypeScriptView Raw
1export interface MediaUpdatedMediaResponseRootObject {
2 updated_media: MediaUpdatedMediaResponseUpdated_media;
3 status: string;
4}
5export interface MediaUpdatedMediaResponseUpdated_media {
6 taken_at: number;
7 pk: string;
8 id: string;
9 device_timestamp: number;
10 media_type: number;
11 code: string;
12 client_cache_key: string;
13 filter_type: number;
14 image_versions2: MediaUpdatedMediaResponseImage_versions2;
15 original_width: number;
16 original_height: number;
17 user: MediaUpdatedMediaResponseUser;
18 caption_is_edited: boolean;
19 comment_likes_enabled: boolean;
20 comment_threading_enabled: boolean;
21 has_more_comments: boolean;
22 max_num_visible_preview_comments: number;
23 preview_comments: any[];
24 can_view_more_preview_comments: boolean;
25 comment_count: number;
26 caption_position: number;
27 is_reel_media: boolean;
28 like_count: number;
29 has_liked: boolean;
30 likers: any[];
31 photo_of_you: boolean;
32 caption: MediaUpdatedMediaResponseCaption;
33 can_viewer_save: boolean;
34 organic_tracking_token: string;
35 expiring_at: number;
36 can_reshare: boolean;
37 can_reply: boolean;
38 is_pride_media: boolean;
39 story_polls: MediaUpdatedMediaResponseStoryPollsItem[];
40 creative_config: MediaUpdatedMediaResponseCreative_config;
41 supports_reel_reactions: boolean;
42 can_send_custom_emojis: boolean;
43 show_one_tap_fb_share_tooltip: boolean;
44 has_shared_to_fb: number;
45}
46export interface MediaUpdatedMediaResponseImage_versions2 {
47 candidates: MediaUpdatedMediaResponseCandidatesItem[];
48}
49export interface MediaUpdatedMediaResponseCandidatesItem {
50 width: number;
51 height: number;
52 url: string;
53 estimated_scans_sizes: number[];
54}
55export interface MediaUpdatedMediaResponseUser {
56 pk: number;
57 username: string;
58 full_name: string;
59 is_private: boolean;
60 profile_pic_url: string;
61 profile_pic_id: string;
62 friendship_status: MediaUpdatedMediaResponseFriendship_status;
63 is_verified: boolean;
64 has_anonymous_profile_picture: boolean;
65 is_unpublished: boolean;
66 is_favorite: boolean;
67}
68export interface MediaUpdatedMediaResponseFriendship_status {
69 following: boolean;
70 outgoing_request: boolean;
71 is_bestie: boolean;
72 is_restricted: boolean;
73}
74export interface MediaUpdatedMediaResponseCaption {
75 pk: string;
76 user_id: number;
77 text: string;
78 type: number;
79 created_at: number;
80 created_at_utc: number;
81 content_type: string;
82 status: string;
83 bit_flags: number;
84 user: MediaUpdatedMediaResponseUser;
85 did_report_as_spam: boolean;
86 share_enabled: boolean;
87 media_id: string;
88}
89export interface MediaUpdatedMediaResponseStoryPollsItem {
90 x: number;
91 y: number;
92 z: number;
93 width: string;
94 height: number;
95 rotation: number;
96 is_pinned: number;
97 is_hidden: number;
98 is_sticker: number;
99 poll_sticker: MediaUpdatedMediaResponsePoll_sticker;
100}
101export interface MediaUpdatedMediaResponsePoll_sticker {
102 id: string;
103 poll_id: string;
104 question: string;
105 tallies: MediaUpdatedMediaResponseTalliesItem[];
106 promotion_tallies: null;
107 viewer_can_vote: boolean;
108 is_shared_result: boolean;
109 finished: boolean;
110 viewer_vote: number;
111}
112export interface MediaUpdatedMediaResponseTalliesItem {
113 text: string;
114 font_size: number;
115 count: number;
116}
117export interface MediaUpdatedMediaResponseCreative_config {
118 capture_type: string;
119 camera_facing: string;
120 should_render_try_it_on: boolean;
121}