How To Make Telegram Automated Filter Bot - Telegram Bots
You can call this as an Auto Filter Bot if you like :D. Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!
Any Bugs or Errors or Suggestions, Report: @TroJanzSupport
REPO: https://github.com/TroJanzHEX/Auto-Filter-Bot
NOTE : If the channel is not created by the user whose string is generated, add that user to your channel
How to use the bot
- Add user account to your channel !
- Add bot to group with admin rights.
- Deploy the bot.
- Once deployed and bot is started, send a message to channel (must do step) Bot will work now :)
Deploy in your vps
- git clone https://github.com/TroJanzHEX/Auto-Filter-Bot
- cd Auto-Filter-Bot
- pip3 install -r requirements.txt
<Create config.py appropriately>
- python3 main.py
Configs
- APP_ID & API_HASH - my.telegram.org
- MAINCHANNEL_ID - @ChannelIDHEXbot
- TG_BOT_TOKEN - @BotFather
- TG_USER_SESSION - https://repl.it/@ErichDaniken/Generate-Telegram-String-Session or use Telegram Bot
Credits : https://github.com/pyrogram/pyrogram