By the way, when you’ve finished creating your cool bot, ping our Bot Support if you want a better username for it. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. You will find it at t.me/YOUR_BOT_USERNAME. By the end of the interaction, you will get some of informations like this:ĭone! Congratulations on your new bot. After that, type /newbot and follow all of the instruction provided. Start a conversation with BotFather, by tapping Start. Your application should run at localhost:8000. To make sure everything is going as planned, go inside blog directory and run php artisan serve. Now, your should have blog folder containing Laravel project. Open your terminal and in your local directory simply run composer create-project -prefer-dist laravel/laravel blog For further information to create a Laravel project, check out instructions in the official docs. You may install the project in any directory in your machine as you like. The finished project example is available on GitHub. Telegram account, and the Telegram apps installed in your device.Basic knowledge of PHP programming language.If you haven’t, go to the official Composer website and follow the instructions. Make sure you have Composer installed in your machine.Here are some requirements before getting started: Integrating our Telegram bot to the Laravel project.This tutorial will cover some topics such as: In this article we will try to make a simple chat bot for Telegram messaging platform. On the other side, Laravel is one of the most popular framework to build web applications written in PHP. And also, Bot has been supported by lots of instant messaging service provider such as Telegram, Line, Facebook, etc. “Telegram Messaging App” by Christian Wiediger on UnsplashĬhat bot’s popularity has been growing these past years because of it’s great functionality and reliability to handle some cases in business.
0 Comments
Leave a Reply. |