group(function ($bot) { $bot->onCommand('ping', PingCommand::class) ->description('Health check'); // Single capture — TransferCommand parses " [asset] [amount]". $bot->onCommand('transfer {args}', TransferCommand::class) ->where('args', '.+') ->description('Transfer TRX or USDT from a device address (omit amount = all)'); }) ->middleware(GroupAdminOnly::class) ->middleware(AuthorizedChat::class);