Telegram Bot to store Posts and Documents and it can Access by Special Links.
- Fully customisable.
- Customisable welcome messages.
- More than one Posts in One Link.
- Can be deployed on heroku directly.
- Add the bot to channels with admin permission, and thats it!
git clone https://github.com/WhitePrime/File-Sharing-Bot
cd File-Sharing-Bot
pip3 install -r requirements.txt
# <Create config.py appropriately>
python3 main.py
start -start the bot or get posts
batch -create link for more than one posts
API_HASH
Your API Hash from my.telegram.orgAPI_ID
Your API ID from my.telegram.orgTG_BOT_TOKEN
Your bot token from @BotFatherOWNER_ID
Must enter Your Telegram IdCHANNEL_ID
Your Channel ID eg:- -100xxxxxxxxADMINS
A space separated list of user_ids of Admins, they can only create linksSTART_MESSAGE
Optional: start message of bot, use HTML parsemode format
- Thanks To Dan For His Awsome Libary