|
|
@@ -237,6 +237,12 @@ class TelegramWebHook extends Controller
|
|
|
$telegram->editMessageText($res);
|
|
|
}
|
|
|
|
|
|
+ // 今日汇率
|
|
|
+ if ($data === 'todayExchangeRate@@rate') {
|
|
|
+ $res = BetService::todayExchangeRate($chatId);
|
|
|
+ $telegram->sendMessage($res);
|
|
|
+ }
|
|
|
+
|
|
|
//选择投注记录
|
|
|
$pattern = "/^betRecordType@@\d+$/";
|
|
|
if (preg_match($pattern, $data)) {
|