Luca Dentella has written an article describing how he developed a bot to control his Raspberry Pi via Telegram:
The project I’m going to describe today it’s a sort of proof of concept that will demonstrate the possibility to remote control sensors and actuators (for example a couple of relays) via Telegram.
Telegram is an instant messaging application, similar to the famous Whatsapp. Last June, the Telegram developers announced that a new set of APIs were available to develop bots.
My idea was to develop a bot, running on my Raspberry Pi, that receives commands via Telegram chats.
Project info at Luca Dentella’s blog.
Check out the video after the break.
Read more Here