On the Scotch.io site there's a tutorial posted showing you how to create a Telegram bot with BotMan the popular PHP package for creating chatbots.
Being a Scotch.io reader you definitely know that we have covered creating Bots before, we have quite few posts on Slack Bots, Twitter Bots and other related topics [...] But today, we have something different for you, today we will be creating a Telegram bot for dog lovers. Yes, you heard it right. A Telegram Bot for dog lovers using Dog API.
The tutorial then walks through the entire process of getting the bot up and running including:
- Installation of Laravel and BotMan
- Creating the commands and testing the bot
- Installing the Telegram driver and creating the bot
- Using ngrok to allow external calls to come into your internal application
The post finishes by showing how to link your bot to Telegram and test it out using messages to send you random dog pictures when requested.