This project serves as a template for quickly creating chatbots in telegram based go-telegram-bot-api/telegram-bot-api.
- Install go mods
- Create config.ini file in folder ./configs
- Set your Telegram API KEY in telegramkey
- Build and run cmd/main.go
The template out of the box allows you to implement the following tasks:
- Create commands handles for telegram bot
- Create inline command handler
- Repository structure (ChatRepository implemented) base on boltdb
- Notification by CRON
- Http server for your API
- JWT authorization for api
Please see the changelog for more information on what has changed recently.
ToDo:
- Tests coverage for repositories
- Tests coverage for handles
- Add new telegram-bot api functions
If you discover any security related issues, please email author email instead of using the issue tracker.
license. Please see the license file for more information.