public function unsetWebHook() { $result = Request::setWebhook(); if (!$result->isOk()) { throw new TelegramException('Webhook was not unset! Error: ' . $result->getErrorCode() . ' ' . $result->getDescription()); } return $result; }