Skip to content

Create chat

The create function allows you to create a new chat for the current user. You can optionally provide metadata for the chat.

ts
const { id } = await invsy.create({
    title: 'My first chat'
})