A simple bot powered by Telegram API and python-telegram-bot.
We provide a sample bot at @quote_reply_bot.
git clone https://github.com/ShiSheng233/Telegram_QuoteReply_Bot.git
cd Telegram_QuoteReply_Bot
python3 main.py
https://hub.docker.com/r/shisheng/telegram_quotereply_bot
docker run -d --env BOT_TOKEN="YOUR_TOKEN_HERE" shisheng/telegram_quotereply_bot
Pull shisheng/telegram_quotereply_bot:ci_latest
for latest push's version
Pull shisheng/telegram_quotereply_bot:ci_pr_[pull_request.number]
for specific pull request's version
Not very recommend
By XiaoMengXinX
- Fork this repo and deploy to Vercel
- Add a environment variable named
BOT_TOKEN
- Redeploy to make environment variables take effect
- Set webhook method by accessing https://api.telegram.org/bot[YOUR_TELEGRAM_BOT_TOKEN_HERE]/setWebhook?url=https://[YOUR_VERCEL_PROJ_NAME].vercel.app/api/bot
Powered by ShiSheng with Love.
GitHub: https://github.com/ShiSheng233/Telegram_QuoteReply_Bot