Function delete_for_chat

Source
pub async fn delete_for_chat<'a, E>(
    executor: E,
    company_id: i32,
    chat_id: i32,
) -> Result<()>
where E: Executor<'a, Database = Postgres>,
Expand description

Delete messages for chat.

ยงErrors

Returns error if there was a problem while deleting messages.