diff --git a/app/Components/Integrations/Telegram/VacancyChannel.php b/app/Components/Integrations/Telegram/VacancyChannel.php index f2b58c9..a569153 100644 --- a/app/Components/Integrations/Telegram/VacancyChannel.php +++ b/app/Components/Integrations/Telegram/VacancyChannel.php @@ -33,6 +33,10 @@ class VacancyChannel $chatId = $update->message->chat->id; \Cache::set(self::REKAMORE_CHANNEL_ID, $chatId, null); break; + } elseif ($update->channel_post?->chat->title === config('services.telegram.chat_title')) { + $chatId = $update->channel_post->chat->id; + \Cache::set(self::REKAMORE_CHANNEL_ID, $chatId, null); + break; } }