instagram-private-api
Version:
Instagram private API wrapper for full access to instagram
97 lines (96 loc) • 2.95 kB
TypeScript
export interface DirectThreadRepositoryAddUserResponseRootObject {
thread: DirectThreadRepositoryAddUserResponseThread;
status: string;
}
export interface DirectThreadRepositoryAddUserResponseThread {
thread_id: string;
thread_v2_id: string;
users: DirectThreadRepositoryAddUserResponseUsersItem[];
left_users: any[];
admin_user_ids: number[];
items: any[];
last_activity_at: string;
muted: boolean;
is_pin: boolean;
named: boolean;
canonical: boolean;
pending: boolean;
archived: boolean;
valued_request: boolean;
thread_type: string;
viewer_id: number;
thread_title: string;
pending_score: string;
folder: number;
vc_muted: boolean;
is_group: boolean;
mentions_muted: boolean;
approval_required_for_new_members: boolean;
input_mode: number;
business_thread_folder: number;
read_state: number;
inviter: DirectThreadRepositoryAddUserResponseInviter;
has_older: boolean;
has_newer: boolean;
last_seen_at: any;
next_cursor: string;
prev_cursor: string;
last_permanent_item: DirectThreadRepositoryAddUserResponseLastPermanentItem;
}
export interface DirectThreadRepositoryAddUserResponseUsersItem {
pk: number;
username: string;
full_name: string;
is_private: boolean;
profile_pic_url: string;
profile_pic_id: string;
friendship_status: DirectThreadRepositoryAddUserResponseFriendshipStatus;
is_verified: boolean;
has_anonymous_profile_picture: boolean;
is_directapp_installed: boolean;
is_using_unified_inbox_for_direct: boolean;
}
export interface DirectThreadRepositoryAddUserResponseFriendshipStatus {
following: boolean;
blocking: boolean;
is_private: boolean;
incoming_request: boolean;
outgoing_request: boolean;
is_bestie: boolean;
is_restricted: boolean;
}
export interface DirectThreadRepositoryAddUserResponseInviter {
pk: number;
username: string;
full_name: string;
is_private: boolean;
profile_pic_url: string;
profile_pic_id: string;
is_verified: boolean;
has_anonymous_profile_picture: boolean;
reel_auto_archive: string;
allowed_commenter_type: string;
}
export interface DirectThreadRepositoryAddUserResponseLastPermanentItem {
item_id: string;
user_id: number;
timestamp: string;
item_type: string;
action_log: DirectThreadRepositoryAddUserResponseActionLog;
}
export interface DirectThreadRepositoryAddUserResponseActionLog {
description: string;
bold: DirectThreadRepositoryAddUserResponseBoldItem[];
text_attributes: DirectThreadRepositoryAddUserResponseTextAttributesItem[];
}
export interface DirectThreadRepositoryAddUserResponseBoldItem {
start: number;
end: number;
}
export interface DirectThreadRepositoryAddUserResponseTextAttributesItem {
start: number;
end: number;
bold: number;
color: string;
intent: string;
}