instagram-private-api
Version:
Instagram private API wrapper for full access to instagram
88 lines (87 loc) • 2.73 kB
TypeScript
export interface DirectThreadRepositoryGetByParticipantsResponseRootObject {
thread: DirectThreadRepositoryGetByParticipantsResponseThread;
status: string;
}
export interface DirectThreadRepositoryGetByParticipantsResponseThread {
thread_id: string;
thread_v2_id: string;
users: DirectThreadRepositoryGetByParticipantsResponseUsersItem[];
left_users: any[];
admin_user_ids: any[];
items: DirectThreadRepositoryGetByParticipantsResponseItemsItem[];
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: DirectThreadRepositoryGetByParticipantsResponseInviter;
has_older: boolean;
has_newer: boolean;
last_seen_at: any;
newest_cursor: string;
oldest_cursor: string;
next_cursor: string;
prev_cursor: string;
last_permanent_item: DirectThreadRepositoryGetByParticipantsResponseLastPermanentItem;
}
export interface DirectThreadRepositoryGetByParticipantsResponseUsersItem {
pk: number;
username: string;
full_name: string;
is_private: boolean;
profile_pic_url: string;
profile_pic_id: string;
friendship_status: DirectThreadRepositoryGetByParticipantsResponseFriendshipStatus;
is_verified: boolean;
has_anonymous_profile_picture: boolean;
is_directapp_installed: boolean;
is_using_unified_inbox_for_direct: boolean;
}
export interface DirectThreadRepositoryGetByParticipantsResponseFriendshipStatus {
following: boolean;
blocking: boolean;
is_private: boolean;
incoming_request: boolean;
outgoing_request: boolean;
is_bestie: boolean;
is_restricted: boolean;
}
export interface DirectThreadRepositoryGetByParticipantsResponseItemsItem {
item_id: string;
user_id: number;
timestamp: string;
item_type: string;
text: string;
}
export interface DirectThreadRepositoryGetByParticipantsResponseInviter {
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;
}
export interface DirectThreadRepositoryGetByParticipantsResponseLastPermanentItem {
item_id: string;
user_id: number;
timestamp: string;
item_type: string;
text: string;
}