Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 315ae79

Browse files
committed
Webhook: added example for SetWebook class (CS)
1 parent 4b9fec7 commit 315ae79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/set-webhook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
$promise = $tgLog->performApiRequest($webhook);
2424
$promise->then(
2525
function (TelegramTypes $response) {
26-
var_dump('Webhook was successfully set. Run get-webhookinfo.php to get detailed information about webhook from server.');
26+
echo 'Webhook was successfully set. Run get-webhookinfo.php to get detailed information about webhook from server.';
2727
},
2828
function (\Exception $exception) {
2929
var_dump($exception->getMessage());

0 commit comments

Comments
 (0)