|
|
@@ -284,6 +284,14 @@ class TelegramWebHook extends Controller
|
|
|
$telegram->sendMessage($returnMsg);
|
|
|
}
|
|
|
|
|
|
+ //选择提现地址
|
|
|
+ $pattern = "/^withdrawAddress@@choose_qb_\d+$/";
|
|
|
+ if (preg_match($pattern, $data)) {
|
|
|
+ $id = preg_replace('/^withdrawAddress@@choose_qb_/', '', $data);
|
|
|
+ $res = WithdrawService::chooseBank($chatId, $firstName, $messageId, $id);
|
|
|
+ $telegram->editMessageText($res);
|
|
|
+ }
|
|
|
+
|
|
|
//选择提现地址
|
|
|
$pattern = "/^withdrawAddress@@choose\d+$/";
|
|
|
if (preg_match($pattern, $data)) {
|