Chatbase middleware for Telegraf
Chatbase middleware for Telegraf (Telegram bot framework)
Installation
$ npm install telegraf-chatbase
or using yarn
:
$ yarn add telegraf-chatbase
Usage
const bot = processenvBOT_TOKENconst chatbase = token: processenvCHATBASE_TOKEN // Your chatbase.com token, required platform: 'nodejs' // Bot platform, optional version: '1.0' // Bot version, optional bot bot bot