2017 © Pedro Peláez
 

project telegram-bot-laravel-starter

Telegram Bot SDK Starter for Laravel

image

irazasyed/telegram-bot-laravel-starter

Telegram Bot SDK Starter for Laravel

  • Friday, March 24, 2017
  • by irazasyed
  • Repository
  • 3 Watchers
  • 12 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 2 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

[ARCHIVED] Laravel Starter for Telegram Bot SDK

This repo has been archived in favor of the scaffolding feature in our Laravel package., (*1)


Laravel starter for Telegram Bot SDK., (*2)

It comes with sample code to get you started developing Telegram Bots in Laravel., (*3)

Features

  • Multi-Bots.
  • Webhook.
  • Updates Polling.
  • Commands.
  • Event Listener.

Built with

Installation

  1. Create a new bot project using this starter project.
composer create-project telegram-bot-sdk/laravel-starter mybot
  1. Install Laravel Valet and use valet secure && valet share to retrieve a HTTPS URL that you can use it to setup a webhook with Telegram for testing., (*4)

  2. Edit your .env file and set your bot token in TELEGRAM_BOT_TOKEN= && ngrok hostname in TELEGRAM_WEBHOOK_DOMAIN= (Ex: randomstring.ap.ngrok.io), (*5)

  3. Setup the webhook with Telegram by firing the artisan command php artisan telegram:webhook:setup., (*6)

  4. Explore app directory for some examples., (*7)

  5. Build awesome bots and don't forget to list them on our Awesome Telegram Bots list., (*8)

Read docs to learn more about Telegram Bot SDK., (*9)

Webhook

If you've fired the above webhook setup artisan command, then a webhook will automatically be set with Telegram., (*10)

The webhook URL looks like: https://YOUR_DOMAIN/telegram/YOUR_BOT_TOKEN/YOUR_BOT_NAME, (*11)

Incoming webhook requests from Telegram will automatically be verified, processed, and acknowledged to Telegram for you. You can listen to various events the SDK dispatches to process inbound updates. You'll find an example in this repo as you explore., (*12)

License

The Laravel Starter is open-sourced software licensed under the MIT license., (*13)

The Versions

24/03 2017

dev-master

9999999-dev

Telegram Bot SDK Starter for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel telegram bot laravel telegram-bot-sdk telegram-bot-laravel-starter telegram bot laravel boilerplate