The Chat integration allows you to talk with your bot using HTTP requests. You can use the official chat client to do so:
## install
```bash
npm install @botpress/chat
```
## usage
```ts
import { Client } from '@botpress/chat'
/**
* You can get this value in your bot's webhook url which should look like this:
* https://webhook.botpress.cloud/{webhookId}
*/
const myWebhookId = 'dae518d0-b501-4b2b-92d1-895b460d25cb'
const client = new Client({
apiUrl: `https://chat.botpress.cloud/${myWebhookId}`,
})
void client.listMessages({}).then(({ messages }) => {
console.log(messages)
})
```