backend:
- add message_hidden table for per-user message hiding
- support DELETE /messages/{id}?for_all=true|false
- implement delete-for-me vs delete-for-all logic by chat type/permissions
- add POST /chats/{chat_id}/clear and route saved chat deletion to clear
web:
- saved messages action changed from delete to clear
- message context menu now supports delete modal: for me / for everyone
- add local store helpers removeMessage/clearChatMessages
- include realtime stability improvements and app error boundary
- add reply_to/forwarded_from message fields and chat pinned_message field
- add forward and pin APIs plus reply support in message create
- wire web actions: Reply, Fwd, Pin and reply composer state
- fix spam policy bug: allow repeated identical messages, keep rate limiting
- implement chat query filtering and message search endpoints
- add db indexes for search fields
- activate chats search input in web
- replace inline create panel with floating TG-style action menu
- add media preview and upload confirmation for image/video
- add upload progress tracking for presigned uploads
- keep voice recording/upload flow with better UI states
- include related realtime/chat updates currently in working tree