Function create

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

Create chat.

ยงErrors

Returns error if there was a problem while creating chat.