|
@@ -25,6 +25,7 @@ use Telegram\Bot\Api;
|
|
use Telegram\Bot\Exceptions\TelegramSDKException;
|
|
use Telegram\Bot\Exceptions\TelegramSDKException;
|
|
use Illuminate\Support\Facades\Log;
|
|
use Illuminate\Support\Facades\Log;
|
|
use App\Models\Config;
|
|
use App\Models\Config;
|
|
|
|
+use App\Services\GameplayRuleService;
|
|
|
|
|
|
class TelegramWebHook extends Controller
|
|
class TelegramWebHook extends Controller
|
|
{
|
|
{
|
|
@@ -229,6 +230,8 @@ class TelegramWebHook extends Controller
|
|
]);
|
|
]);
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
|
|
+
|
|
|
|
+ $gameplay = GameplayRuleService::bettingRuleVerify($text);
|
|
$this->telegram->sendMessage([
|
|
$this->telegram->sendMessage([
|
|
'chat_id' => $chatId,
|
|
'chat_id' => $chatId,
|
|
'text' => '‼️‼️未知命令,请点击下方菜单按钮选择功能'
|
|
'text' => '‼️‼️未知命令,请点击下方菜单按钮选择功能'
|