BPT\BPT

Extended by : BPT\telegram\telegram

This is the main class of BPT library, You must create an Object from it and send your desired setting, then use it as you will

If you want to use our event handler, Extend this in your handler class

See base file for more detail about our event handler, We will write an article about it soon

Because its extended BPT\telegram\telegram class, You can use it's method here too

Telegram methods supported in both static and normal style

Creating arguments
Name Type Description Required
settings array | object See class BPT\settings properties yes
Properties
Name Type Description Kind
update BPT\types\update Contain last received update Static
BPT BPT\BPT An object from itself Static

See methods list : methods

Examples :

$BPT = new BPT(...settings);
$BPT->sendMessage(123456)
BPT::sendMessage(123456);