Skip to content

Commit fa07b5e

Browse files
committed
Changed telegram bot entities type
1 parent 636ca48 commit fa07b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/TelegramMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function handle(TelegramBot $telegramBot): void
4141
return;
4242
}
4343

44-
$existEntities = collect($this->message->get('entities'))->whereIn('type', ['url', 'code'])->isNotEmpty();
44+
$existEntities = collect($this->message->get('entities'))->whereIn('type', ['url', 'pre'])->isNotEmpty();
4545

4646
if ($existEntities) {
4747
return;

0 commit comments

Comments
 (0)