To use the Telegram Bot API, you first have to get a bot account by chatting with BotFather.
BotFather will give you a token, something like 123456789:AbCdefGhIJKlmNoPQRsTUVwxyZ
.
If you don't already have an OpenAI account, navigate to the OpenAI website. After logging in, navigate to the API keys page.
# Set your OpenAI and telegram API keys
cp .env.example .env
# Install dependencies
npm install
# Start the app
npm run start