Skip to content

Commit

Permalink
Webhook: added example for SetWebook class (CS)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJTommek committed Jul 28, 2022
1 parent 4b9fec7 commit 315ae79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/set-webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 315ae79

Please sign in to comment.