A python script using the telethon library to simply send messages to a bot every 30 seconds. I made this to mine BTC from telegram BTC Faucet bot. If you are going to use this for the same purpose, please consider using my referal link (https://t.me/BTC_Faucet_freebot?start=475129097)
PS. This faucet is most probably a scam, I am not able to withdraw.
To run the script you need telethon library
foo@bar:~$ sudo apt-get install python3 python3-pip
foo@bar:~$ sudo apt-get full-upgrade
foo@bar:~$ pip3 install telethon
foo@bar:~$ git clone https://github.com/Eshaan7/Telegram-automatic-message
Execute using
foo@bar:~$ cd Telegram-automatic-message/
foo@bar:~/Telegram-automatic-message$ python3 telmsgtobot.py