After that, type /newbot and follow all of the instruction provided. Start a conversation with BotFather, by tapping Start. Next, let’s create our Telegram Bot! If you want to learn more about Telegram bot, I prefer you to explore about it here.įirst, open your Telegram app, and go find BotFather is a bot created by Telegram to manage and rule all other bots (imagine BotFather is a GodFather of all bots). Great! Now we have our Laravel project ready to roll. Your application should run at localhost:8000. To make sure everything is going as planned, go inside blog directory and run php artisan serve to start the web server we just created. Now, your should have blog folder containing Laravel project. Open your terminal and in your local directory simply run:Ĭomposer create-project -prefer-dist laravel/laravel blog For further and more detailed information about creating new Laravel project, check out instructions in the official documentation. You may start a new Laravel project in any directory in your machine as you like. Telegram Bot tutorial with Laravel Framework Telegram account, and Telegram app installed in your device.Ĭompleted code example of this tutorial is available on this GitHub repository.Basic knowledge of PHP programming language. If you haven’t, go to the official Composer website and follow the instructions to install it.
0 Comments
Leave a Reply. |