There's a… bot for that. Just talk to @BotFather and follow a few simple steps. You need your authorization token.
The token is a string along the lines of
110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw that is required to authorize the bot
Now go to app and fill this token in bot creation form.
See video - how to get bot token
How to make simple bot