Skip to content

Tables

Example showing how to work with tables for structured data storage.

This example assumes using Botpress; is in scope and apiKey contains your Botpress API key.

1
2
3
4
5
6
7
// Create a Botpress client and list tables
using var client = new BotpressClient(apiKey);
var botId = GetBotId();

// List all tables associated with the bot
await client.Tables.TablesListTablesAsync(
    xBotId: botId);