feat: add saved messages, public chat discovery/join, and chat delete options
All checks were successful
CI / test (push) Successful in 19s

- add Saved Messages system chat with dedicated API

- add public group/channel metadata and discover/join endpoints

- add chat delete flow with for_all option and channel-wide delete

- switch message actions to context menu and improve reply/forward visuals

- improve microphone permission handling for voice recording
This commit is contained in:
2026-03-08 00:41:35 +03:00
parent b5a7d733c6
commit b9f71b9528
12 changed files with 529 additions and 119 deletions

View File

@@ -6,10 +6,18 @@ export interface Chat {
id: number;
type: ChatType;
title: string | null;
handle?: string | null;
description?: string | null;
is_public?: boolean;
is_saved?: boolean;
pinned_message_id?: number | null;
created_at: string;
}
export interface DiscoverChat extends Chat {
is_member: boolean;
}
export interface Message {
id: number;
chat_id: number;