Skip to content

Commit

Permalink
Changed telegram bot entities type
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Mar 23, 2024
1 parent 636ca48 commit fa07b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/TelegramMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function handle(TelegramBot $telegramBot): void
return;
}

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

if ($existEntities) {
return;
Expand Down

0 comments on commit fa07b5e

Please sign in to comment.