Commit 174021ab5d79504f7fa747af2f55c2e8c27cf905
1 parent
0cca95c684
Exists in
master
fix telegram
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
app/Components/Integrations/Telegram/VacancyChannel.php
... | ... | @@ -33,6 +33,10 @@ class VacancyChannel |
33 | 33 | $chatId = $update->message->chat->id; |
34 | 34 | \Cache::set(self::REKAMORE_CHANNEL_ID, $chatId, null); |
35 | 35 | break; |
36 | + } elseif ($update->channel_post?->chat->title === config('services.telegram.chat_title')) { | |
37 | + $chatId = $update->channel_post->chat->id; | |
38 | + \Cache::set(self::REKAMORE_CHANNEL_ID, $chatId, null); | |
39 | + break; | |
36 | 40 | } |
37 | 41 | } |
38 | 42 |