Skip to content

Latest commit

 

History

History
77 lines (54 loc) · 2.2 KB

README.md

File metadata and controls

77 lines (54 loc) · 2.2 KB

BalePhp logo
BalePhp

BalePhp help you to easily use Bale API in php 😎

InstallHow To UseFunctionsHandlers

baner



Install

balephp does not require installation

Just Clone this repository and add the following code to your bot file:

require 'balephp/main'; //include balephp

How To Use

First you need to include balephp and run it:

require 'balephp/main'; //include balephp

BalePhp::run('e5d57ef1b978c18560f4e622y7f2bb0228fx95da'); //run balephp with your bot token

Note: you must create your bot with @bot_father_testi and set webhook

and second, you need to call a handle function for example, we call handleBack to return any message back:

BaleHandler::handleBack();

Document will be completed later


Email hooshmandmrh@gmail.com  ·  Bale @Smartwf  ·  Twitter @smart_wf