Skip to main content

delete_chat

Function delete_chat 

Source
pub fn delete_chat(chat_identifier: &str) -> Result<(), String>
Expand description

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.