pub fn delete_chat(chat_identifier: &str) -> Result<(), String>
Delete a chat and all its messages from the database. chat_identifier is the string id (npub for DMs, channel id for Communities) — NOT the integer PK.
chat_identifier