feat: diplicate webhook info request
This commit is contained in:
@@ -48,10 +48,9 @@ class BotTokenConfigurator
|
|||||||
$this->telegramService->exec('setWebhook', [
|
$this->telegramService->exec('setWebhook', [
|
||||||
'url' => $this->getWebhookUrl(),
|
'url' => $this->getWebhookUrl(),
|
||||||
]);
|
]);
|
||||||
|
$webhookUrl = $this->telegramService->getWebhookUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
$webhookUrl = $this->telegramService->getWebhookUrl();
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'first_name' => Arr::get($me, 'result.first_name'),
|
'first_name' => Arr::get($me, 'result.first_name'),
|
||||||
'username' => Arr::get($me, 'result.username'),
|
'username' => Arr::get($me, 'result.username'),
|
||||||
|
|||||||
Reference in New Issue
Block a user