seven 3 ngày trước cách đây
mục cha
commit
47c244fbf7
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      app/Http/Controllers/api/TelegramWebHook.php

+ 3 - 0
app/Http/Controllers/api/TelegramWebHook.php

@@ -158,6 +158,9 @@ class TelegramWebHook extends Controller
                         'message_id' => $messageId
                     ]);
                     $returnMsg = WalletService::getBalance($chatId);
+                    if($returnMsg){
+                        $this->telegram->sendMessage($returnMsg);
+                    }
                     // if ($data === "topUp@@home1") {
                     //     $telegram->deleteMessage([
                     //         'chat_id' => $chatId,