From cb22584cc7739ca10d20d028f3065660bbffa49d Mon Sep 17 00:00:00 2001 From: tabuna Date: Fri, 22 Mar 2024 02:31:18 +0300 Subject: [PATCH] Fixed dot variables --- app/Jobs/TelegramMessage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/TelegramMessage.php b/app/Jobs/TelegramMessage.php index 639d0975..2023f00e 100644 --- a/app/Jobs/TelegramMessage.php +++ b/app/Jobs/TelegramMessage.php @@ -26,8 +26,8 @@ public function __construct(public Collection $message) { $this->text = $this->message->only(['text', 'caption'])->first(); $this->messageId = $this->message->get('message_id'); - $this->chatId = $this->message->get('chat.id'); - $this->from = $this->message->get('from.id'); + $this->chatId = $this->message->dot()->get('chat.id'); + $this->from = $this->message->dot()->get('from.id'); } /**