Initial Commit
linter / quality (push) Canceled after 0s
tests / ci (8.3) (push) Canceled after 0s
tests / ci (8.4) (push) Canceled after 0s
tests / ci (8.5) (push) Canceled after 0s

This commit is contained in:
2026-08-28 23:20:23 +10:00
parent f00405ed24
commit cc225414e0
8 changed files with 578 additions and 4 deletions
+55
View File
@@ -48,3 +48,58 @@ export interface StoryDetail {
start_index: number;
items: StoryItem[];
}
export interface ThreadParticipant {
user_id: string;
username: string;
full_name: string | null;
profile_pic_url: string | null;
interop_messaging_user_fbid: string;
}
export interface ThreadSummary {
thread_id: string;
thread_title: string | null;
is_group: boolean;
participants: ThreadParticipant[];
last_activity_at: number | null;
muted: boolean | null;
last_message: {
username: string | null;
text: string | null;
item_type: string | null;
timestamp: number | null;
} | null;
}
export interface ThreadReaction {
emoji: string | null;
sender_fbid: string | null;
username: string | null;
}
export interface ThreadMessage {
id: string;
user_id: string | null;
username: string | null;
full_name: string | null;
item_type: string | null;
text: string | null;
timestamp: number | null;
shared_url: string | null;
shared_preview_image: string | null;
shared_title: string | null;
shared_caption: string | null;
reactions: ThreadReaction[] | null;
replied_to_id: string | null;
replied_to_text: string | null;
}
export interface ThreadDetail {
thread_id: string;
thread_title: string | null;
is_group: boolean;
participants: ThreadParticipant[];
muted: boolean | null;
messages: ThreadMessage[];
}