A Telegram bot with integration with OpenAI
This project is supposed to provide you a Telegram bot
I initialise the project with these commands, but you don't need to.
go mod init
go get -u github.com/sashabaranov/go-openai
go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5
go get -u github.com/spf13/cobra@latest
go get -u github.com/stretchr/testify
If you clone this project and to build it, you only have to perform:
go mod verify
go mod tidy
It will pull the dependencies which are used in this project.
go build -o tg-gpt-bot
- Webhook with TLS support