feat: diplicate webhook info request

This commit is contained in:
2025-08-16 22:02:31 +03:00
parent 72cf5809ea
commit 6249b218a1

View File

@@ -48,10 +48,9 @@ class BotTokenConfigurator
$this->telegramService->exec('setWebhook', [
'url' => $this->getWebhookUrl(),
]);
$webhookUrl = $this->telegramService->getWebhookUrl();
}
$webhookUrl = $this->telegramService->getWebhookUrl();
return [
'first_name' => Arr::get($me, 'result.first_name'),
'username' => Arr::get($me, 'result.username'),