Send Files , text and stdin to telegram channels
- Search for BotFather on telegram search and type
/startcommand to start creating bots
Telify uses botapi to interact with telegram . So we need to create a telegram bot
- Step 1 > Type
/newbotcommand to create a newbot
- Step 2 > Now you need to provide a display name and username for bot
Display Name
Username
Copy the HTTP API Token we will use it with
telify
- Step 3 > Create a Telegram Channel and add bot as a member
Install telify with the below commands
git clone https://github.com/root-tanishq/telify
cd telify
pip3 install -r requirements.txt
sudo cp telify.py /usr/local/bin/telify
sudo chmod +x /usr/local/bin/telify
telifyEnter the HTTP API Token of bot created in Setup Instructions
- Sending a message
telify -m '<CUSTOM MESSAGE HERE>'- Sending a File
telify -f '<FILE NAME HERE>'- Sending Std in
<YOUR COMMAND> | telify