This commit is contained in:
Daniil Gentili 2018-03-23 10:35:50 +00:00
parent 40567ce3ec
commit 4c7e1bad87

View File

@ -19,7 +19,7 @@ namespace danog\MadelineProto\Wrappers;
trait Webhook
{
public function setWebhook($url, $pem_path = null) {
public function setWebhook($hook_url, $pem_path = null) {
$this->pem_path = $pem_path;
$this->hook_url = $hook_url;
$this->settings['updates']['callback'] = [$this, 'pwr_webhook'];