This ver simple tool can be used in your scripts, or home automation. Create your own bot, and send messages (alerts, info, etc) to your mobile device or desktop.
- Python 3.x (compatible with 2.7)
- Python module: requests
- A valid and active Telegram Bot
- Clone it to your machine
- Import the class or copy the code
- Initiate the class:
tbot = Messenger(bot_id='bot678009249:AAEvi26jWxM0r_yjHEYEBXGSbNe4ZcSRK-E', chat_id='62017281')
And send!
tbot.send('hello there')