From 7e6502b07e74e27e27326c9593f25c2c9c03418b Mon Sep 17 00:00:00 2001 From: Nikita Kiselev Date: Sun, 21 Dec 2025 18:13:11 +0300 Subject: [PATCH] fix: use html for tg bot --- .../src/Telegram/LinkCommand.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/module/oc_telegram_shop/upload/oc_telegram_shop/src/Telegram/LinkCommand.php b/module/oc_telegram_shop/upload/oc_telegram_shop/src/Telegram/LinkCommand.php index 6003f9f..e71acf6 100755 --- a/module/oc_telegram_shop/upload/oc_telegram_shop/src/Telegram/LinkCommand.php +++ b/module/oc_telegram_shop/upload/oc_telegram_shop/src/Telegram/LinkCommand.php @@ -40,7 +40,7 @@ class LinkCommand extends TelegramCommand if (! $state) { $greeting = $this->telegram->escapeTgSpecialCharacters( - <<telegram->sendMessage($chatId, $greeting); @@ -73,15 +73,15 @@ MARKDOWN $state['data']['step'] = 'btn_text'; $this->state->setState(self::class, $userId, $chatId, $state['data']); - $text = <<telegram->sendMessage($chatId, $text); return; @@ -94,8 +94,8 @@ MARKDOWN; $this->state->setState(self::class, $userId, $chatId, $state['data']); $template = <<https:// 📎 Инструкция, где взять ссылку: 👉 {LINK}