DILo Makassar Telegram Bot
Important steps
- Create Telegram bot by contacting @BotFather (currently @DiLoMksBot)
- Create Google App Engine project for Python (eg: xxyyzz.appspot.com), Free version (billing not active) is OK
- Flask - The web framework used
Check requirements.txt for any details.
Add Telegram webhook. webhook URL
curl -F "url=https://xxyyzz.appspot.com/webhook/<YOURTOKEN>" https://api.telegram.org/bot<YOURTOKEN>/setWebhook
Update configuration on app.yaml. Your Telegram Token and Group ID.
Install packages to lib/ directory, it will be deployed also to App Engine.
Deploy to your App Engine project.
gcloud app deploy --project xxyyzz --verbosity=info app.yaml
Create cron for scheduler and update to Google App Engine.
gcloud app deploy --project xxyyzz --verbosity=info app.yaml cron.yaml
- oon arfiandwi - Initial work - OonID
This project is licensed under the MIT License - see the LICENSE file for details
- etc