You need a domain with ssl (https) for use this bot
git clone --recursive https://github.com/vitormattos/telegram-bot-duolingo.git
cd telegram-bot-duolingo
composer install
Add @BotFather to yours contacts and start the help with command /help Create a bot with /newbot
Deploy your application
Define environment var nammed TOKEN with your authorizaion code
Access the URL https:///webhook.php