|
@@ -246,21 +246,24 @@ class BetService extends BaseService
|
|
|
$groupText .= "----------- \n";
|
|
|
$groupText .= "{$input} \n";
|
|
|
$groupText .= "----------- \n";
|
|
|
- $button = [];
|
|
|
- $button[] = [
|
|
|
- ['text' => "查看余额"],['text' => "✅唯一财务"]
|
|
|
+
|
|
|
+ $inlineButton = [];
|
|
|
+ $inlineButton[] = [
|
|
|
+ ['text' => "查看余额", 'callback_data' => 'balance'],
|
|
|
+ ['text' => "✅唯一财务", 'callback_data' => 'finance']
|
|
|
];
|
|
|
- $button[] = [
|
|
|
- ['text' => "近期注单"],['text' => "今日流水"]
|
|
|
+ $inlineButton[] = [
|
|
|
+ ['text' => "近期注单", 'callback_data' => 'recent_bets'],
|
|
|
+ ['text' => "今日流水", 'callback_data' => 'today_flow']
|
|
|
];
|
|
|
- $button[] = [
|
|
|
- ['text' => "私聊下注"]
|
|
|
+ $inlineButton[] = [
|
|
|
+ ['text' => "私聊下注", 'callback_data' => 'private_bet']
|
|
|
];
|
|
|
- $button[] = [
|
|
|
- ['text' => "官方频道"]
|
|
|
+ $inlineButton[] = [
|
|
|
+ ['text' => "官方频道", 'url' => 'https://t.me/xxx']
|
|
|
];
|
|
|
// 群通知
|
|
|
- self::bettingGroupNotice($groupText,$button); // 群通知
|
|
|
+ self::bettingGroupNotice($groupText,$inlineButton); // 群通知
|
|
|
|
|
|
return $msg;
|
|
|
}
|