diff --git a/src/Telegram.php b/src/Telegram.php index bf006c5f..91ca4ef9 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -1063,6 +1063,7 @@ public function setWebhook(string $url, array $data = []): ServerResponse 'max_connections', 'allowed_updates', 'drop_pending_updates', + 'secret_token', ])); $data['url'] = $url;