Install • How To Use • Functions • Handlers
balephp does not require installation
Just Clone this repository and add the following code to your bot file:
require 'balephp/main'; //include balephp
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();
Email hooshmandmrh@gmail.com · Bale @Smartwf · Twitter @smart_wf