diff --git a/examples/set-webhook.php b/examples/set-webhook.php index f752989..14fa1e5 100644 --- a/examples/set-webhook.php +++ b/examples/set-webhook.php @@ -23,7 +23,7 @@ $promise = $tgLog->performApiRequest($webhook); $promise->then( function (TelegramTypes $response) { - var_dump('Webhook was successfully set. Run get-webhookinfo.php to get detailed information about webhook from server.'); + echo 'Webhook was successfully set. Run get-webhookinfo.php to get detailed information about webhook from server.'; }, function (\Exception $exception) { var_dump($exception->getMessage());